]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #23873 from smithfarm/wip-35068-mimic
authorYuri Weinstein <yweinste@redhat.com>
Wed, 5 Sep 2018 21:37:01 +0000 (14:37 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Sep 2018 21:37:01 +0000 (14:37 -0700)
mimic: core: deep scrub cannot find the bitrot if the object is cached

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
1  2 
src/os/bluestore/BitmapFreelistManager.cc
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h
src/osd/ReplicatedBackend.cc

index 1d5ea00d368341edc3219074556133f39f83b312,c3db18b166cb6827ba7b3f36e5468313ec5f5cf1..0c4fbc0bf9ea4c74f2a6d9e3e9f9a1881dcfd8d5
@@@ -8684,10 -8685,10 +8700,10 @@@ void BlueStore::_txc_committed_kv(Trans
  void BlueStore::_txc_finish(TransContext *txc)
  {
    dout(20) << __func__ << " " << txc << " onodes " << txc->onodes << dendl;
-   assert(txc->state == TransContext::STATE_FINISHING);
+   ceph_assert(txc->state == TransContext::STATE_FINISHING);
  
    for (auto& sb : txc->shared_blobs_written) {
 -    sb->bc.finish_write(sb->get_cache(), txc->seq);
 +    sb->finish_write(txc->seq);
    }
    txc->shared_blobs_written.clear();
  
Simple merge
Simple merge