]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix incorrect l_pq_executing_ops statistics when meet an invalid item in purge... 25229/head
authorTang Junhui <tangjunhui@sangfor.com>
Fri, 23 Nov 2018 02:04:40 +0000 (10:04 +0800)
committerJunhui Tang <tangjunhui@sangfor.com.cn>
Sun, 9 Dec 2018 02:12:32 +0000 (10:12 +0800)
commitca61ce4485a56dead04a31e47bd1093217d1f222
treeaed525bf25ede71665fe23bf9ac36bbe53ad1955
parent578f7e082e98431dd4da732f9eeff59a971262ec
mds: fix incorrect l_pq_executing_ops statistics when meet an invalid item in purge queue

l_pq_executing_ops should subtract the ops we added previous
in the condition we meet an invalid item in the purge queue,
otherwise the statistics would always show some ops
in l_pq_executing_ops.

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