]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: update inode fields according to issued caps 22783/head
authorYan, Zheng <zyan@redhat.com>
Sat, 26 May 2018 08:46:12 +0000 (16:46 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 2 Jul 2018 02:49:23 +0000 (10:49 +0800)
commit8f724ba01f13d4e11ae8c050e80b9d6974050a06
tree897ef0cd82e5ee680f6604fefaf08f01ec3d04d3
parent5849a0aebb9882a23adddea34531bb01174a48af
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
(cherry picked from commit 0c51508dd2028abd9031e40206cf1753cbf3c412)

 Conflicts:
src/client/Client.cc
src/client/Client.cc
src/client/Client.h
src/include/ceph_fs.h