]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/.../object_context_loader: add lock_excl_sync method
authorSamuel Just <sjust@redhat.com>
Wed, 22 Jan 2025 03:26:35 +0000 (19:26 -0800)
committerSamuel Just <sjust@redhat.com>
Wed, 29 Jan 2025 05:00:36 +0000 (05:00 +0000)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/object_context_loader.h

index 92e50fc4bec693b37a10b5ef5928359f4135eca6..5f8da15e02767b6f48d2cfd3649f7f6a584d3c0f 100644 (file)
@@ -163,6 +163,10 @@ public:
       return *this;
     }
 
+    void lock_excl_sync() {
+      target_state.lock_excl_sync();
+    }
+
     ObjectContextRef &get_obc() {
       ceph_assert(!target_state.is_empty());
       ceph_assert(target_state.obc->is_loaded());