]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/transaction_manager: complete dec_ref 36510/head
authorSamuel Just <sjust@redhat.com>
Wed, 5 Aug 2020 02:50:45 +0000 (19:50 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 13 Aug 2020 18:32:31 +0000 (11:32 -0700)
commitbb3a7f35152f6f21e5df53349112ee806246f26a
tree3bb37bd6a16567875b149110c263ce0570397dd2
parent3af6617673ce539a933afbf3c04b70b841bcced1
crimson/os/seastore/transaction_manager: complete dec_ref

Previously, dec_ref didn't handle actually retiring the
extent from the cache.  dec_ref will now reach into the
cache and mark the extent retired if it exists either
in the cache or in the current transaction.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cache.h
src/crimson/os/seastore/transaction_manager.cc
src/test/crimson/seastore/test_transaction_manager.cc