Project

General

Profile

Actions

Bug #46025

closed

client: release the client_lock before copying data in read

Added by wei qiaomiao almost 4 years ago. Updated almost 4 years ago.

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

0%

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

Description

There is a copy from bufferlist to out buffer in client read, In the case of large file reading, other requests will blocked to acquire client_lock for a long time. Actually, when copying data, there is no need to hold client_lock.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #46469: octopus: client: release the client_lock before copying data in readResolvedNathan CutlerActions
Copied to CephFS - Backport #46470: nautilus: client: release the client_lock before copying data in readResolvedRamana RajaActions
Actions

Also available in: Atom PDF