Project

General

Profile

Actions

Bug #44207

closed

mgr/volumes: deadlock when trying to purge large number of trash entries

Added by Venky Shankar about 4 years ago. Updated about 4 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
nautilus
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

There's a subtle deadlock when purge tasks (via the generic async job machinery) tries to fetch the next job to execute. The volume (filesystem) should be opened in lockless mode since the main thread (command dispatcher thread) serializes access to the volume.

Hit this once when trying to remove large number of trash entries.


Related issues 2 (0 open2 closed)

Related to CephFS - Bug #44276: pybind/mgr/volumes: cleanup stale connection hangResolvedVenky Shankar

Actions
Copied to CephFS - Backport #44282: nautilus: mgr/volumes: deadlock when trying to purge large number of trash entriesResolvedVenky ShankarActions
Actions

Also available in: Atom PDF