]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/os/seastore/cache: add duplicate_for_write debugging
authorSamuel Just <sjust@redhat.com>
Thu, 17 Sep 2020 22:14:11 +0000 (15:14 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 20 Oct 2020 19:27:08 +0000 (12:27 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/cache.cc

index 6c4cd7dd46fb097afcd7f42e7d1b64752f65da0f..ce09bc7a333ef979695bdf0b9e643e9f3b710aa5 100644 (file)
@@ -164,6 +164,7 @@ CachedExtentRef Cache::duplicate_for_write(
 
   ret->version++;
   ret->state = CachedExtent::extent_state_t::MUTATION_PENDING;
+  logger().debug("Cache::duplicate_for_write: {} -> {}", *i, *ret);
   return ret;
 }