Project

General

Profile

Bug #46025

client: release the client_lock before copying data in read

Added by wei qiaomiao 5 months ago. Updated 4 months 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:

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

Copied to CephFS - Backport #46469: octopus: client: release the client_lock before copying data in read Resolved
Copied to CephFS - Backport #46470: nautilus: client: release the client_lock before copying data in read Resolved

History

#1 Updated by Patrick Donnelly 5 months 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

#2 Updated by Patrick Donnelly 5 months ago

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

#3 Updated by Nathan Cutler 5 months ago

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

#4 Updated by Nathan Cutler 5 months ago

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

#5 Updated by Nathan Cutler 4 months 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".

Also available in: Atom PDF