aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2.h
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2010-04-05 21:17:16 -0400
committerJoel Becker <joel.becker@oracle.com>2010-05-05 21:18:07 -0400
commit83f92318fa33cc084e14e64dc903e605f75884c1 (patch)
treec7466c64019fb050c69cab27b4388e3a86d58b1a /fs/ocfs2/ocfs2.h
parentb07f8f24dfe54da0f074b78949044842e8df881f (diff)
ocfs2: Add dir_resv_level mount option
The default behavior for directory reservations stays the same, but we add a mount option so people can tweak the size of directory reservations according to their workloads. Signed-off-by: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r--fs/ocfs2/ocfs2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h
index 09d7aee3dabe..a388528f485c 100644
--- a/fs/ocfs2/ocfs2.h
+++ b/fs/ocfs2/ocfs2.h
@@ -356,6 +356,7 @@ struct ocfs2_super
356 struct ocfs2_reservation_map osb_la_resmap; 356 struct ocfs2_reservation_map osb_la_resmap;
357 357
358 unsigned int osb_resv_level; 358 unsigned int osb_resv_level;
359 unsigned int osb_dir_resv_level;
359 360
360 /* Next three fields are for local node slot recovery during 361 /* Next three fields are for local node slot recovery during
361 * mount. */ 362 * mount. */