]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #53565 from pereman2/shared-blob-to-blob
authorAdam Kupczyk <akupczyk@ibm.com>
Fri, 16 Feb 2024 16:26:54 +0000 (17:26 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Feb 2024 16:26:54 +0000 (17:26 +0100)
os/bluestore: optional SharedBlob on Blob structure

1  2 
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h

index 29aff834fa460459bc61d26000cedede4afb19c8,7714caaad44b59cb9a18a1d09bd1b8b1007ab959..7d02b1551e0f16d41a3a8b3b08e1affadf27426d
@@@ -582,11 -582,11 +582,11 @@@ void _dump_extent_map(CephContext *cct
        dout(LogLevelV) << __func__ << "      csum: " << std::hex << v << std::dec
                      << dendl;
      }
-     std::lock_guard l(e.blob->shared_blob->get_cache()->lock);
+     std::lock_guard l(e.blob->get_cache()->lock);
      for (auto& i : e.blob->get_bc().buffer_map) {
        dout(LogLevelV) << __func__ << "       0x" << std::hex << i.first
 -                    << "~" << i.second->length << std::dec
 -                    << " " << *i.second << dendl;
 +                    << "~" << i.second.length << std::dec
 +                    << " " << i.second << dendl;
      }
    }
  }
Simple merge