Project

General

Profile

Bug #24369

luminous: checking quota while holding cap ref may deadlock

Added by Zheng Yan almost 6 years ago. Updated almost 6 years ago.

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

0%

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

History

#1 Updated by Zheng Yan almost 6 years ago

For example:

mds revokes an inode's Fw
mds freezes the subtree that contains the inode

client::_write() calls is_quota_bytes_approaching() while holding the inode's Fw. Client::get_quota_root() sends lookup_name request to mds.
mds delays handling the lookup_name request because subtree is freezing.

#2 Updated by Zheng Yan almost 6 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Patrick Donnelly almost 6 years ago

  • Assignee set to Zheng Yan
  • Target version set to v12.2.6
  • Source set to Development
  • Affected Versions v12.2.5 added
  • Component(FS) Client added

#5 Updated by Zheng Yan almost 6 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF