mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
osd/ReplicatedPG: fix finish_flush
Make sure we reallocate a pgbackend transaction at the time when we are initiating new work. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
34fcf42c69
commit
9ac03ef579
@ -5838,6 +5838,9 @@ void ReplicatedPG::finish_flush(hobject_t oid, tid_t tid, int r)
|
||||
return;
|
||||
}
|
||||
|
||||
delete fop->ctx->op_t;
|
||||
fop->ctx->op_t = pgbackend->get_transaction();
|
||||
|
||||
r = try_flush_mark_clean(fop);
|
||||
if (r == -EBUSY) {
|
||||
reply_ctx(fop->ctx, -EBUSY, obc->obs.oi.version,
|
||||
|
Loading…
Reference in New Issue
Block a user