]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: initialize logical pins before exposing to cache
authorSamuel Just <sjust@redhat.com>
Thu, 2 Dec 2021 03:25:15 +0000 (19:25 -0800)
committerSamuel Just <sjust@redhat.com>
Tue, 7 Dec 2021 07:13:59 +0000 (07:13 +0000)
commitc32300258d2e6a599083dca4b36a2f0282fd82f7
treea64f8cacbb74d6d5f9476f1c3b64ccb69f53d061
parente6372cecc8b66ae94ed31938dca5f83aaebeef00
crimson/os/seastore: initialize logical pins before exposing to cache

Otherwise, another task may get a reference to the extent before
we've set the pin.

Fixes: https://tracker.ceph.com/issues/53267
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/crimson/os/seastore/transaction_manager.h