Project

General

Profile

Actions

Bug #11928

closed

osd: avoid multi set osd_op.outdata in tier pool

Added by Xinze Chi almost 9 years ago. Updated over 8 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 1 (0 open1 closed)

Is duplicate of Ceph - Bug #12540: osd: avoid multi set osd_op.outdata in tier poolResolved07/31/2015

Actions
Actions #1

Updated by Samuel Just almost 9 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Kefu Chai almost 9 years ago

  • Assignee set to Xinze Chi
Actions #3

Updated by Sage Weil over 8 years ago

  • Status changed from Fix Under Review to Duplicate
Actions

Also available in: Atom PDF