]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Access/Modify epoch maps under mutex in OSDSuperblock class 62916/head
authorMohit Agrawal <moagrawa@redhat.com>
Tue, 22 Apr 2025 15:12:01 +0000 (20:42 +0530)
committerMohit Agrawal <moagrawa@redhat.com>
Tue, 3 Jun 2025 12:13:37 +0000 (17:43 +0530)
commit8cf896e382e5416dad15592de1cef23316f23fb8
tree30a30a119d6a7082847fcdcdbfc912b8804b92e6
parentded62dfdfb12c0abe21c38f8b0d56596de33eaaf
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>
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