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 over 3 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 #1

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to wei qiaomiao
  • Target version set to v16.0.0
  • Backport set to octopus,nautilus
Actions #2

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Source set to Community (dev)
Actions #3

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #46469: octopus: client: release the client_lock before copying data in read added
Actions #4

Updated by Nathan Cutler almost 4 years ago

  • Copied to Backport #46470: nautilus: client: release the client_lock before copying data in read added
Actions #5

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF