Skip to content

Commit

Permalink
Merge pull request #12160 from vshankar/wip-17973
Browse files Browse the repository at this point in the history
librbd: mark request as finished after failed refresh
  • Loading branch information
Jason Dillaman committed Nov 23, 2016
2 parents db7533d + cc2f222 commit c391030
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librbd/AioImageRequestWQ.cc
Expand Up @@ -469,6 +469,7 @@ void AioImageRequestWQ::handle_refreshed(int r, AioImageRequest<> *req) {
ldout(cct, 15) << "resuming IO after image refresh: r=" << r << ", "
<< "req=" << req << dendl;
if (r < 0) {
process_finish();
req->fail(r);
finish_queued_op(req);
delete req;
Expand Down

0 comments on commit c391030

Please sign in to comment.