]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: do not call Journaler::_trim twice 25222/head
authorTang Junhui <tangjunhui@sangfor.com>
Thu, 22 Nov 2018 12:21:46 +0000 (20:21 +0800)
committerJunhui Tang <tangjunhui@sangfor.com.cn>
Sun, 9 Dec 2018 02:14:54 +0000 (10:14 +0800)
commita509b5719bc44a63d7664a1b019adca6a3993f19
tree4f2dcd39b0e709d80b297bcf5e1a50139e9f29c7
parent578f7e082e98431dd4da732f9eeff59a971262ec
mds: do not call Journaler::_trim twice

Journaler::_trim is called in the routine:
PurgeQueue::_execute_item
==>Journaler::write_head
==>Journaler::_finish_write_head
==>Journaler::_trim
so do not register callback in PurgeQueue::_execute_item
to call Journaler::_trim again.

Signed-off-by: Tang Junhui <tangjunhui@sangfor.com>
Fixes: http://tracker.ceph.com/issues/37566
src/mds/PurgeQueue.cc