Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/object/srv_obj.c
Original file line number Diff line number Diff line change
Expand Up @@ -2256,6 +2256,9 @@ obj_ioc_fini(struct obj_io_context *ioc, int err)
}
}

static void
obj_ioc_end(struct obj_io_context *ioc, int err);

/* Setup lite IO context, it is only for compound RPC so far:
* - no associated object yet
* - no permission check (not sure it's read/write)
Expand Down Expand Up @@ -2359,6 +2362,10 @@ obj_ioc_begin_lite(uint32_t rpc_map_ver, uuid_t pool_uuid,
d_tm_inc_gauge(tls->ot_op_active[opc_get(rpc->cr_opc)], 1);
ioc->ioc_start_time = daos_get_ntime();
ioc->ioc_began = 1;

if (rc != 0)
obj_ioc_end(ioc, rc);

return rc;
}

Expand Down
Loading