Project

General

Profile

Bug #12540

osd: avoid multi set osd_op.outdata in tier pool

Added by Xinze Chi over 8 years ago. Updated over 8 years ago.

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

0%

Source:
other
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

There are two read op on the same object for ec pool. First op read
miss happend, calling do_proxy_read and promote_object, The second op only
do_proxy_read. but before first op process_copy_chunk finish, the second op
finish_proxy_read. first op receive reply from base pool
first and then second received. so the second op set the field "outdata"
in m->ops first. And then first op requeue_ops in process_copy_chunk,
At last in do_osd_ops, it append outdata field.


Related issues

Duplicated by Ceph - Bug #11928: osd: avoid multi set osd_op.outdata in tier pool Duplicate 06/09/2015
Copied to Ceph - Backport #13036: osd: avoid multi set osd_op.outdata in tier pool Resolved

History

#2 Updated by Sage Weil over 8 years ago

  • Status changed from New to 7
  • Priority changed from Normal to Urgent
  • Backport set to hammer

#3 Updated by Sage Weil over 8 years ago

  • Status changed from 7 to Pending Backport

#4 Updated by Loïc Dachary over 8 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF