mirror of
https://github.com/ceph/ceph
synced 2025-01-12 14:10:27 +00:00
Merge pull request #5870 from s09816/master
osd:the fuction osd::shutdown Lock failed. Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
6e8e0e7bb5
@ -6479,8 +6479,10 @@ void OSD::handle_osd_map(MOSDMap *m)
|
||||
else if (do_restart)
|
||||
start_boot();
|
||||
|
||||
osd_lock.Unlock();
|
||||
if (do_shutdown)
|
||||
shutdown();
|
||||
osd_lock.Lock();
|
||||
|
||||
m->put();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user