]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: update inode fields according to issued caps 22266/head
authorYan, Zheng <zyan@redhat.com>
Sat, 26 May 2018 08:46:12 +0000 (16:46 +0800)
committerYan, Zheng <zyan@redhat.com>
Sat, 26 May 2018 09:04:29 +0000 (17:04 +0800)
commit0c51508dd2028abd9031e40206cf1753cbf3c412
treeada27634d96211a0b7f81151fa0d1014b700c607
parentafa4bf3dcb67a5ed6715613c2423023bb1272b74
client:  update inode fields according to issued caps

Cap message and request reply from non-auth MDS may carry stale
information (corresponding locks are in LOCK states) even they
have the newest inode version. So client should update inode fields
according to issued caps.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/24269
src/client/Client.cc
src/client/Client.h
src/include/ceph_fs.h