search for: ocfs2_alloc_dinode_update_counts

Displaying 3 results from an estimated 3 matches for "ocfs2_alloc_dinode_update_counts".

2010 Sep 07
1
[GIT PULL] ocfs2 fixes for 2.6.36.
...om/git/tma/linux-2.6.git fixes Jan Kara (2): ocfs2: Flush drive's caches on fdatasync ocfs2: Fix deadlock when allocating page Mark Fasheh (6): ocfs2: properly set and use inode group alloc hint ocfs2: split out inode alloc code from ocfs2_mknod_locked ocfs2: use ocfs2_alloc_dinode_update_counts() instead of open coding ocfs2: allow return of new inode block location before allocation of the inode ocfs2: split out ocfs2_prepare_orphan_dir() into locking and prep functions ocfs2: Fix orphan add in ocfs2_create_inode_in_orphan Sunil Mushran (2): ocfs2: Fix metaecc er...
2006 Aug 15
0
[git patches] ocfs2 updates
...; @@ -951,17 +1018,109 @@ static int ocfs2_block_group_search(stru if (bg->bg_free_bits_count) ret = ocfs2_block_group_find_clear_bits(OCFS2_SB(inode->i_sb), group_bh, bits_wanted, + le16_to_cpu(bg->bg_bits), bit_off, bits_found); return ret; } +static int ocfs2_alloc_dinode_update_counts(struct inode *inode, + struct ocfs2_journal_handle *handle, + struct buffer_head *di_bh, + u32 num_bits, + u16 chain) +{ + int ret; + u32 tmp_used; + struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; + struct ocfs2_chain_list *cl = (struct o...
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