Project

General

Profile

Actions

Bug #23815

closed

client: avoid second lock on client_lock

Added by supriti singh about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
luminous,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
Client
Labels (FS):
crash
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In function ll_get_stripe_osd client_lock is taken. But its acquired again in ll_get_inodeno(). Avoid double locking.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #23932: jewel: client: avoid second lock on client_lockResolvedJos CollinActions
Copied to CephFS - Backport #23933: luminous: client: avoid second lock on client_lockResolvedJos CollinActions
Actions

Also available in: Atom PDF