ocfs2: use allocation reservations during file write

Add a per-inode reservations structure and pass it through to the
reservations code.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
This commit is contained in:
Mark Fasheh
2009-12-07 13:15:40 -08:00
committed by Joel Becker
parent d02f00cc05
commit 4fe370afaa
6 changed files with 16 additions and 0 deletions

View File

@@ -70,6 +70,8 @@ struct ocfs2_inode_info
/* Only valid if the inode is the dir. */
u32 ip_last_used_slot;
u64 ip_last_used_group;
struct ocfs2_alloc_reservation ip_la_data_resv;
};
/*