]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds : move start_files_to_recover() to recovery_done 37986/head
authorSimon Gao <simon29rock@gmail.com>
Sun, 9 Aug 2020 07:38:30 +0000 (15:38 +0800)
committerVicente Cheng <freeze.bilsted@gmail.com>
Mon, 9 Nov 2020 08:09:51 +0000 (08:09 +0000)
commit072b629115876ffb2abd8312afb68cf198831ebd
treeb589f2ace74889f3df604e303b1fd6c7f3858aa4
parent64a2940f573357babe06b7b92dd1b01f582a1f35
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)

Conflicts:
src/mds/MDSRank.cc
  - skip start_purge_inodes() because nautilus does not
    introduce it.
src/mds/MDSRank.cc