From: Sage Weil Date: Wed, 17 Feb 2010 18:02:43 +0000 (-0800) Subject: ceph: clean up readdir caps reservation X-Git-Tag: v2.6.34-rc2~9^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85ccce43a3fc15a40ded6ae1603e3f68a17f4d24;p=pandora-kernel.git ceph: clean up readdir caps reservation Use a global counter for the minimum number of allocated caps instead of hard coding a check against readdir_max. This takes into account multiple client instances, and avoids examining the superblock mount options when a cap is dropped. Signed-off-by: Sage Weil --- Reading git-diff-tree failed