From: Tao Ma Date: Thu, 22 Jul 2010 05:56:45 +0000 (+0800) Subject: ocfs2: Count more refcount records in file system fragmentation. X-Git-Tag: v2.6.36-rc1~40^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a2e70c40ff58f82dde67770e6623ca45f0cb0c8;p=pandora-kernel.git 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 Signed-off-by: Joel Becker --- Reading git-diff-tree failed