Project

General

Profile

Bug #15701

deadlock in OSD::_committed_osd_maps

Added by Xinze Chi about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
05/03/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Thread 15 (Thread 0x7fc5cd3e6700 (LWP 1631)):
#0 0x00007fc5e523e705 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b73e8d in Finisher::wait_for_empty() ()
#2 0x00000000009e316c in FileStore::flush() ()
#3 0x0000000000694337 in OSD::shutdown() ()
#4 0x00000000006cbf5d in OSD::_committed_osd_maps(unsigned int, unsigned int, MOSDMap*) ()
#5 0x00000000006d69f9 in Context::complete(int) ()
#6 0x0000000000b74468 in Finisher::finisher_thread_entry() ()
#7 0x00007fc5e523adf5 in start_thread () from /lib64/libpthread.so.0
#8 0x00007fc5e35f71ad in clone () from /lib64/libc.so.6

The callback function in Finisher would wait for the callback finish (wait_for_empty). This is deadlock.


Related issues

Copied to Ceph - Backport #15797: jewel: deadlock in OSD::_committed_osd_maps Resolved

History

#1 Updated by Sage Weil about 3 years ago

Ah, right. Need to trigger shutdown in a different thread.

#3 Updated by Kefu Chai about 3 years ago

  • Status changed from New to Need Review
  • Assignee set to Xinze Chi

#4 Updated by Sage Weil about 3 years ago

  • Status changed from Need Review to Pending Backport
  • Backport set to jewel

#5 Updated by Nathan Cutler about 3 years ago

  • Copied to Backport #15797: jewel: deadlock in OSD::_committed_osd_maps added

#6 Updated by Nathan Cutler about 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF