From: Yan, Zheng Date: Sat, 8 Mar 2014 12:12:23 +0000 (+0800) Subject: ceph: update i_max_size even if inode version does not change X-Git-Tag: v3.15-rc1~61^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c93cd610c6c5a4c0dddfc6fe906814331b3af87;p=pandora-kernel.git ceph: update i_max_size even if inode version does not change handle following sequence of events: - client releases a inode with i_max_size > 0. The release message is queued. (is not sent to the auth MDS) - a 'lookup' request reply from non-auth MDS returns the same inode. - client opens the inode in write mode. The version of inode trace in 'open' request reply is equal to the cached inode's version. - client requests new max size. The MDS ignores the request because it does not affect client's write range Signed-off-by: Yan, Zheng Reviewed-by: Sage Weil --- Reading git-diff-tree failed