]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix revoking caps after after stale->resume circle 31662/head
authorYan, Zheng <zyan@redhat.com>
Thu, 14 Nov 2019 12:15:14 +0000 (20:15 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 15 Nov 2019 03:49:43 +0000 (11:49 +0800)
commitb6898d65a8e5f044a7bd46005d7a8e8a3d258742
treee4397c3bae2f542be1d9465767d2ed884ad6f333
parent8358b1f0c85648c3bf787e63aba902d1c5575df7
mds: fix revoking caps after after stale->resume circle

After session stale->resume circle, client thinks its caps get lost. But
MDS may keep some client caps untouched. To revoke untouched caps, MDS
needs to re-issue them to client, then do revocation. If MDS skips the
're-issue' step, client will not response to the cap revoke.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/42826
src/mds/Locker.cc