diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2007-12-20 17:58:11 -0500 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2008-01-25 18:05:43 -0500 |
commit | 2fbe8d1ebe004425b4f7b8bba345623d2280be82 (patch) | |
tree | 7620954c7a364c41306a3becc0046dd1e235158f /Documentation/filesystems/ocfs2.txt | |
parent | d147b3d630edef1d34de6ea819787a1ac1b8603b (diff) |
ocfs2: Local alloc window size changeable via mount option
Local alloc is a performance optimization in ocfs2 in which a node
takes a window of bits from the global bitmap and then uses that for
all small local allocations. This window size is fixed to 8MB currently.
This patch allows users to specify the window size in MB including
disabling it by passing in 0. If the number specified is too large,
the fs will use the default value of 8MB.
mount -o localalloc=X /dev/sdX /mntpoint
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'Documentation/filesystems/ocfs2.txt')
-rw-r--r-- | Documentation/filesystems/ocfs2.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/filesystems/ocfs2.txt b/Documentation/filesystems/ocfs2.txt index b63bd2d7fcd3..071fad137eb5 100644 --- a/Documentation/filesystems/ocfs2.txt +++ b/Documentation/filesystems/ocfs2.txt | |||
@@ -72,3 +72,6 @@ commit=nrsec (*) Ocfs2 can be told to sync all its data and metadata | |||
72 | it at the default (5 seconds). | 72 | it at the default (5 seconds). |
73 | Setting it to very large values will improve | 73 | Setting it to very large values will improve |
74 | performance. | 74 | performance. |
75 | localalloc=8(*) Allows custom localalloc size in MB. If the value is too | ||
76 | large, the fs will silently revert it to the default. | ||
77 | Localalloc is not enabled for local mounts. | ||