diff options
| author | Tao Ma <[email protected]> | 2010-07-22 05:56:45 +0000 |
|---|---|---|
| committer | Joel Becker <[email protected]> | 2010-08-07 17:44:49 +0000 |
| commit | 8a2e70c40ff58f82dde67770e6623ca45f0cb0c8 (patch) | |
| tree | ce05111dbb00fae81d0c0b7726ddac5c0117ec34 /fs/jbd/commit.c | |
| parent | ocfs2 fix o2dlm dlm run purgelist (rev 3) (diff) | |
| download | kernel-8a2e70c40ff58f82dde67770e6623ca45f0cb0c8.tar.gz kernel-8a2e70c40ff58f82dde67770e6623ca45f0cb0c8.zip | |
ocfs2: Count more refcount records in file system fragmentation.
The refcount record calculation in ocfs2_calc_refcount_meta_credits
is too optimistic that we can always allocate contiguous clusters
and handle an already existed refcount rec as a whole. Actually
because of file system fragmentation, we may have the chance to split
a refcount record into 3 parts during the transaction. So consider
the worst case in record calculation.
Cc: [email protected]
Signed-off-by: Tao Ma <[email protected]>
Signed-off-by: Joel Becker <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions
