From: Sage Weil Date: Sun, 7 Nov 2010 17:37:25 +0000 (-0800) Subject: ceph: only let auth caps update max_size X-Git-Tag: v2.6.37-rc3~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=912a9b0319a8eb9e0834b19a25e01013ab2d6a9f;p=pandora-kernel.git ceph: only let auth caps update max_size Only the auth MDS has a meaningful max_size value for us, so only update it in fill_inode if we're being issued an auth cap. Otherwise, a random stat result from a non-auth MDS can clobber a meaningful max_size, get the client<->mds cap state out of sync, and make writes hang. Specifically, even if the client re-requests a larger max_size (which it will), the MDS won't respond because as far as it knows we already have a sufficiently large value. Signed-off-by: Sage Weil --- Reading git-diff-tree failed