Fix unknown OSD numbers on error

This commit is contained in:
Vitaliy Filippov
2022-05-28 00:51:14 +03:00
parent f826831282
commit 2bdf415eb3
3 changed files with 21 additions and 3 deletions
+1
View File
@@ -295,6 +295,7 @@ int osd_t::submit_bitmap_subops(osd_op_t *cur_op, pg_t & pg)
else
{
// Fail it immediately
subop->peer_fd = -1;
subop->reply.hdr.retval = -EPIPE;
subop->callback(subop);
}