]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd/object_context_loader: Introduce with_clone_obc_only()
authorMatan Breizman <mbreizma@redhat.com>
Sun, 6 Nov 2022 13:28:27 +0000 (13:28 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 22 Nov 2022 09:35:38 +0000 (09:35 +0000)
commit6b043a7ce7c0ac6b4de38b04911ab6e4e79aa28a
tree4c82d35dbfc72f36f32a68cfb6b3491231d4dac1
parentfe55ae239a8fa97a6f3af3beb90d45fd2b8c1e97
crimson/osd/object_context_loader: Introduce with_clone_obc_only()

A with_clone_obc() variant, in PGBackend::rollback() with_locked_obc
is locking the head obc used, we should not lock the head object
obc again (as in by calling with_head_obc()).

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/osd/object_context_loader.cc
src/crimson/osd/object_context_loader.h