diff options
author | Mark Fasheh <mfasheh@suse.com> | 2009-12-07 16:15:40 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-05-05 21:17:30 -0400 |
commit | 4fe370afaae49c57619bb0bedb75de7e7c168308 (patch) | |
tree | 7b2752fc9616578e9e3baa659e6c724b301d26c5 /fs/ocfs2/super.c | |
parent | d02f00cc057809d96c044cc72d5b9809d59f7d49 (diff) |
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>
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index cfe672e72b27..2a9f4c455f28 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -1707,6 +1707,8 @@ static void ocfs2_inode_init_once(void *data) | |||
1707 | oi->ip_blkno = 0ULL; | 1707 | oi->ip_blkno = 0ULL; |
1708 | oi->ip_clusters = 0; | 1708 | oi->ip_clusters = 0; |
1709 | 1709 | ||
1710 | ocfs2_resv_init_once(&oi->ip_la_data_resv); | ||
1711 | |||
1710 | ocfs2_lock_res_init_once(&oi->ip_rw_lockres); | 1712 | ocfs2_lock_res_init_once(&oi->ip_rw_lockres); |
1711 | ocfs2_lock_res_init_once(&oi->ip_inode_lockres); | 1713 | ocfs2_lock_res_init_once(&oi->ip_inode_lockres); |
1712 | ocfs2_lock_res_init_once(&oi->ip_open_lockres); | 1714 | ocfs2_lock_res_init_once(&oi->ip_open_lockres); |