mirror of
https://github.com/ceph/ceph
synced 2025-01-15 23:43:06 +00:00
ECBackend: skip canceled xattr reads as well
Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
bcc18d4877
commit
8913ab4bb5
@ -942,7 +942,10 @@ void ECBackend::handle_sub_read_reply(
|
||||
i != op.attrs_read.end();
|
||||
++i) {
|
||||
assert(!op.errors.count(i->first));
|
||||
assert(rop.to_read.count(i->first));
|
||||
if (!rop.to_read.count(i->first)) {
|
||||
// We canceled this read! @see filter_read_op
|
||||
continue;
|
||||
}
|
||||
rop.complete[i->first].attrs = map<string, bufferlist>();
|
||||
(*(rop.complete[i->first].attrs)).swap(i->second);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user