Project

General

Profile

Bug #11928

osd: avoid multi set osd_op.outdata in tier pool

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

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

0%

Source:
other
Tags:
Backport:
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, call do_proxy_read and promote_object, The second op only
do_proxy_read. but before call process_copy_chunk for first op and then
finish_proxy_read for second op, first op receive reply from base pool
first and then second received. so the second op reset the field "outdata"
in m->ops first. And then call process_copy_chunk for first op,
cancel_proxy_read for second op and then requeue it. At last in do_osd_ops,
it append outdata field.

PR https://github.com/ceph/ceph/pull/4895 is pending for review.


Related issues

Duplicates Ceph - Bug #12540: osd: avoid multi set osd_op.outdata in tier pool Resolved 07/31/2015

History

#1 Updated by Samuel Just over 7 years ago

  • Status changed from New to Fix Under Review

#2 Updated by Kefu Chai over 7 years ago

  • Assignee set to Xinze Chi

#3 Updated by Sage Weil over 7 years ago

  • Status changed from Fix Under Review to Duplicate

Also available in: Atom PDF