diff options
author | Tao Ma <tao.ma@oracle.com> | 2010-07-22 07:56:45 +0200 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-08-07 19:44:49 +0200 |
commit | 8a2e70c40ff58f82dde67770e6623ca45f0cb0c8 (patch) | |
tree | ce05111dbb00fae81d0c0b7726ddac5c0117ec34 /fs/ocfs2/acl.c | |
parent | ocfs2 fix o2dlm dlm run purgelist (rev 3) (diff) | |
download | linux-8a2e70c40ff58f82dde67770e6623ca45f0cb0c8.tar.xz linux-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: stable@kernel.org
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/acl.c')
0 files changed, 0 insertions, 0 deletions