]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Access/Modify epoch maps under mutex in OSDSuperblock class 64438/head
authorMohit Agrawal <moagrawa@redhat.com>
Tue, 22 Apr 2025 15:12:01 +0000 (20:42 +0530)
committerMohit Agrawal <moagrawa@redhat.com>
Thu, 10 Jul 2025 13:05:22 +0000 (18:35 +0530)
commitd62dd59e0d87db59be474444b383db4a65b736a6
treea6eceaf3f1c5ea17b0a1f3a82d792e03ed4cb6c6
parentdafefe0d9dabf392eb29303673767d20a3a4452e
osd: Access/Modify epoch maps under mutex in OSDSuperblock class

The OSDSuperblock object access/modify epoch maps in multiple
threads simultaneously due to that OSD is getting crashed.
To avoid the crash access the maps under mutex.

Fixes: https://tracker.ceph.com/issues/66819
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
(cherry picked from commit 8cf896e382e5416dad15592de1cef23316f23fb8)
src/crimson/osd/osd.cc
src/crimson/osd/shard_services.cc
src/osd/OSD.cc
src/osd/osd_types.cc
src/osd/osd_types.h