ceph: clean up readdir caps reservation
authorSage Weil <sage@newdream.net>
Wed, 17 Feb 2010 18:02:43 +0000 (10:02 -0800)
committerSage Weil <sage@newdream.net>
Wed, 17 Feb 2010 18:02:43 +0000 (10:02 -0800)
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 <sage@newdream.net>

No differences found