]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: check for session import race
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 14 May 2018 02:58:17 +0000 (19:58 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 14 May 2018 20:31:22 +0000 (13:31 -0700)
commit9f2c66d850fbe48ade0022646b328318f79dbf4f
tree4f538924ce93dffd957c8d5e29be603833cf1e00
parentc58a8f8dd7808e0edee6567f35d4294c397fb8b9
mds: check for session import race

Credit to Yan Zheng for identifying the race condition [1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1572555#c7

Test-for: http://tracker.ceph.com/issues/24072

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit fbc25b44865f6c13c9a9c4710049f9e37169747b)
qa/cephfs/clusters/3-mds.yaml
qa/cephfs/clusters/9-mds.yaml
qa/tasks/cephfs/test_exports.py
src/common/options.cc
src/mds/MDSDaemon.cc
src/mds/MDSRank.h
src/mds/Migrator.cc
src/mds/Migrator.h