From 4ab0578e84f7c78696700dde36219a0c7dd48d0b Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Mon, 10 Jun 2024 21:15:16 +0000 Subject: [PATCH] crimson/.../object_context: remove loading_mutex Now that we acquire and demote an exclusive lock during loading without blocking, a seperate loading_mutex shouldn't be necessary. Signed-off-by: Samuel Just --- src/crimson/osd/object_context.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/crimson/osd/object_context.h b/src/crimson/osd/object_context.h index ae8d1d34a4a5f..c8349e4fc5c66 100644 --- a/src/crimson/osd/object_context.h +++ b/src/crimson/osd/object_context.h @@ -74,10 +74,6 @@ public: using watch_key_t = std::pair; std::map> watchers; - // obc loading is a concurrent phase. In case this obc is being loaded, - // make other users of this obc to await for the loading to complete. - seastar::shared_mutex loading_mutex; - ObjectContext(hobject_t hoid) : lock(hoid.oid.name), obs(std::move(hoid)) {} -- 2.39.5