Project

General

Profile

Actions

Bug #15701

closed

deadlock in OSD::_committed_osd_maps

Added by Xinze Chi almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Copied to Ceph - Backport #15797: jewel: deadlock in OSD::_committed_osd_mapsResolvedAbhishek VarshneyActions
Actions #1

Updated by Sage Weil almost 8 years ago

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

Actions #3

Updated by Kefu Chai almost 8 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Xinze Chi
Actions #4

Updated by Sage Weil almost 8 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to jewel
Actions #5

Updated by Nathan Cutler almost 8 years ago

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

Updated by Nathan Cutler almost 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF