From: Henry C Chang Date: Wed, 11 May 2011 10:29:54 +0000 (+0000) Subject: ceph: do not use i_wrbuffer_ref as refcount for Fb cap X-Git-Tag: v2.6.39~45^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d0720d4a7a46e93e055e5b0f1a8bd612743ed6;p=pandora-kernel.git ceph: do not use i_wrbuffer_ref as refcount for Fb cap We increments i_wrbuffer_ref when taking the Fb cap. This breaks the dirty page accounting and causes looping in __ceph_do_pending_vmtruncate, and ceph client hangs. This bug can be reproduced occasionally by running blogbench. Add a new field i_wb_ref to inode and dedicate it to Fb reference counting. Signed-off-by: Henry C Chang Signed-off-by: Sage Weil --- Reading git-diff-tree failed