Project

General

Profile

Actions

Bug #21207

closed

bluestore: asyn cdeferred_try_submit deadlock

Added by Sage Weil over 6 years ago. Updated over 6 years ago.

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

0%

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

Description

In deferred_aio_finish we may need to requeue pending deferred via a finisher. Currently we reuse finishers0, but that thread may be busy doing completions back into the OSD. deadlock!

2017-08-31 18:00:40.308327 7f6ffd4ca700 20 bluestore(/var/lib/ceph/osd/ceph-4) _deferred_aio_finish queuing async deferred_try_submit

..but not deferred_try_submit call follows.
/a/sage-2017-08-31_16:29:40-rados-wip-sage-testing2-2017-08-31-0908-distro-basic-smithi/1583842

Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #21234: luminous: bluestore: asyn cdeferred_try_submit deadlockResolvedNathan CutlerActions
Actions #1

Updated by Sage Weil over 6 years ago

  • Status changed from In Progress to Fix Under Review
  • Backport set to luminous
Actions #2

Updated by xie xingguo over 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #21234: luminous: bluestore: asyn cdeferred_try_submit deadlock added
Actions #4

Updated by Nathan Cutler over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF