Project

General

Profile

Bug #37680

osd/PrimaryLogPG: fix the extent length error of the sync read

Added by Xiaofei Cui 10 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/18/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

The extent.length of the sync read is changed to 0, when
the read is failed. This makes the retry of the read with
a offset of 0 to read the total object.
Let the extent.length as it is, if the return code is -EAGAIN,
which will make the read try again later with the correct
extent.length.


Related issues

Copied to Ceph - Backport #37755: mimic: osd/PrimaryLogPG: fix the extent length error of the sync read Resolved
Copied to Ceph - Backport #37756: luminous: osd/PrimaryLogPG: fix the extent length error of the sync read Resolved

History

#1 Updated by xie xingguo 10 months ago

  • Backport set to luminous,mimic

#2 Updated by Kefu Chai 10 months ago

  • Status changed from New to Pending Backport

#3 Updated by Nathan Cutler 10 months ago

  • Copied to Backport #37755: mimic: osd/PrimaryLogPG: fix the extent length error of the sync read added

#4 Updated by Nathan Cutler 10 months ago

  • Copied to Backport #37756: luminous: osd/PrimaryLogPG: fix the extent length error of the sync read added

#5 Updated by Nathan Cutler 8 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF