]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds : move start_files_to_recover() to recovery_done 37985/head
authorSimon Gao <simon29rock@gmail.com>
Sun, 9 Aug 2020 07:38:30 +0000 (15:38 +0800)
committerVicente Cheng <freeze.bilsted@gmail.com>
Mon, 7 Dec 2020 05:41:30 +0000 (05:41 +0000)
commit7cec368e92db3b39edfe7b0a5ed1016fd4e69eb0
treec2f41d7e9975e7d64705c09d4911d70d7d9e9178
parentd4c5443517bc75f3000b1b6f5717f29d9ed44668
mds : move start_files_to_recover()  to recovery_done

the requests in the queue, named waiting_for_replay, may modify the state of the filelock,
resulting in the wrong lock state when repairing file (start_files_to_recover)

Fixes : https://tracker.ceph.com/issues/46906
Signed-off-by: Simon Gao <simon29rock@gmail.com>
(cherry picked from commit fafb5b4f84e12ba00a68550ffb73fc9bcde867a0)
src/mds/MDSRank.cc