diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-03-08 20:12:23 +0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-04 21:07:06 -0700 |
commit | 8c93cd610c6c5a4c0dddfc6fe906814331b3af87 (patch) | |
tree | 061a539ad1e30942ea23a7657f45bf12ea745a30 /fs/ceph/locks.c | |
parent | a255060451dcb416c8097218b40d86d613d84bfc (diff) | |
download | op-kernel-dev-8c93cd610c6c5a4c0dddfc6fe906814331b3af87.zip op-kernel-dev-8c93cd610c6c5a4c0dddfc6fe906814331b3af87.tar.gz |
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 <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/locks.c')
0 files changed, 0 insertions, 0 deletions