search for: ocfs2_write_begin_inlin

Displaying 5 results from an estimated 5 matches for "ocfs2_write_begin_inlin".

2013 Jun 19
1
ocfs2: Should move ocfs2_start_trans out of lock_page
...itted, dead lock happens. In ext4, lock_page/unlock_page are in ext4_journal_start/ext4_journal_stop, this can avoid such kind of dead lock. So I think we should move ocfs2_start_trans/ocfs2_commit_trans out of lock_page/unlock_page. Totally there are 5 related functions: ocfs2_write_begin_nolock ocfs2_write_begin_inline ocfs2_write_end_nolock ocfs2_write_zero_page ocfs2_convert_inline_data_to_extents
2009 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...log_entry("(%llu, 0x%p, ..)\n", OCFS2_I(inode)->ip_blkno, wc); + *clusters_to_alloc = 0; *extents_to_split = 0; @@ -1479,6 +1583,7 @@ static int ocfs2_populate_write_desc(struct inode *inode, ret = 0; out: + mlog_exit(ret); return ret; } @@ -1492,6 +1597,9 @@ static int ocfs2_write_begin_inline(struct address_space *mapping, handle_t *handle; struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; + mlog_entry("(0x%p, %llu, 0x%p)\n", + mapping, OCFS2_I(inode)->ip_blkno, wc); + page = find_or_create_page(mapping, 0, GFP_NOFS); if (!page) {...
2009 Jul 21
1
(no subject)
...p, ..)\n", + (unsigned long long)OCFS2_I(inode)->ip_blkno, wc); + *clusters_to_alloc = 0; *extents_to_split = 0; @@ -1479,6 +1591,7 @@ static int ocfs2_populate_write_desc(struct inode *inode, ret = 0; out: + mlog_exit(ret); return ret; } @@ -1492,6 +1605,9 @@ static int ocfs2_write_begin_inline(struct address_space *mapping, handle_t *handle; struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; + mlog_entry("(0x%p, %llu, 0x%p)\n", + mapping, (unsigned long long)OCFS2_I(inode)->ip_blkno, wc); + page = find_or_create_page(mapping, 0, GFP_NOFS...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...p, ..)\n", + (unsigned long long)OCFS2_I(inode)->ip_blkno, wc); + *clusters_to_alloc = 0; *extents_to_split = 0; @@ -1479,6 +1591,7 @@ static int ocfs2_populate_write_desc(struct inode *inode, ret = 0; out: + mlog_exit(ret); return ret; } @@ -1492,6 +1605,9 @@ static int ocfs2_write_begin_inline(struct address_space *mapping, handle_t *handle; struct ocfs2_dinode *di = (struct ocfs2_dinode *)wc->w_di_bh->b_data; + mlog_entry("(0x%p, %llu, 0x%p)\n", + mapping, (unsigned long long)OCFS2_I(inode)->ip_blkno, wc); + page = find_or_create_page(mapping, 0, GFP_NOFS...
2009 Feb 13
44
[PATCH 0/40] ocfs2: Detach ocfs2 metadata I/O from struct inode
The following series of patches attempts to detach metadata I/O from struct inode. They are currently tied together pretty tightly. Metadata reads happen via the ocfs2_read_blocks() functions, writes via both jbd2 and ocfs2_write_blocks(). - Each inode has a cache of associated metadata blocks stored on its ip_metadata_cache member. The ocfs2_read/write_blocks() functions take a struct