]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: cancel in-flight manifest ops on interval changing
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 27 Aug 2019 01:51:04 +0000 (09:51 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 28 Aug 2019 10:03:20 +0000 (18:03 +0800)
commit7f74461bcceb15cc5b0b7ef2258406ce14d8fd22
tree8e58bc9b12d00f8ec81f9da4bfd79aa62ce8ba53
parent6f74759cf4cd211f30c765f5c1dac851778a010f
osd/PrimaryLogPG: cancel in-flight manifest ops on interval changing

We don't want to cache any object_contexts through the interval change.
We actually assert that all currently live references are dead by the
time the flush for the next interval completes.

On detecting a interval changing, let's cancel any in-flight manifest
ops, just as we do for any other cache-tier ops.

Fixes: https://tracker.ceph.com/issues/41514
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h