]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: use set to store to evict client
authorErqi Chen <chenerqi@gmail.com>
Fri, 30 Aug 2019 08:02:03 +0000 (16:02 +0800)
committerErqi Chen <chenerqi@gmail.com>
Fri, 30 Aug 2019 08:02:03 +0000 (16:02 +0800)
commitf4afb43f3649161516f2350df9fd1d918b13736b
treed37cc60b738909c41d7bb44e4e72922d1099eff8
parent88662a4e319446eb75249d646dc586e4414201e7
mds: use set to store to evict client

client is put to to_evict vector more than once if client does't
response more than one caps revoke, it may cause session hang
if session opening is aborted by next evict, use set structure
to keep to evict client unique.

Fixes: https://tracker.ceph.com/issues/41585
Signed-off-by: Erqi Chen <chenerqi@gmail.com>
src/mds/Locker.cc
src/mds/Locker.h