]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/transaction_manager: only add pin if not already pending
authorSamuel Just <sjust@redhat.com>
Thu, 20 Aug 2020 19:38:20 +0000 (12:38 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 23 Sep 2020 22:13:51 +0000 (15:13 -0700)
commit9016932fef255207c61e48621629b7d275970ec5
treee3368ff3e7eae6acdf932f26cea27b43bc7567b1
parent31d3057a35e45c9c59d89e5b5d8e0f68f7dab313
crimson/os/seastore/transaction_manager: only add pin if not already pending

If it's already pending, cache.duplicate_for_write is a noop and the extent
will already have a pin.  Also, add some debugging.

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