]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: update inode fields according to issued caps 22819/head
authorYan, Zheng <zyan@redhat.com>
Sat, 26 May 2018 08:46:12 +0000 (16:46 +0800)
committerPrashant D <pdhange@redhat.com>
Tue, 3 Jul 2018 08:43:42 +0000 (04:43 -0400)
commitf31ca04207683a7163d8ac386e043bca39570ba7
tree02c4c7c0f01e142af6934f7e7e42b1bd256c4232
parentae503a1a0abe3610131a5f9e668fbb0f1808ec05
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)
src/client/Client.cc
src/client/Client.h
src/include/ceph_fs.h