From c55bfb160199070f74fa703e2593daffea60a6d6 Mon Sep 17 00:00:00 2001 From: Liang Zhen Date: Fri, 26 Jul 2024 22:01:46 +0800 Subject: [PATCH] DAOS-15914: release input buffer earlier for dtx commit Signed-off-by: Liang Zhen --- src/dtx/dtx_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dtx/dtx_srv.c b/src/dtx/dtx_srv.c index 9e78100c451b..0fd4e7c513f4 100644 --- a/src/dtx/dtx_srv.c +++ b/src/dtx/dtx_srv.c @@ -337,7 +337,7 @@ dtx_handler(crt_rpc_t *rpc) dout->do_status = rc; /* For DTX_COMMIT, it is the count of real committed DTX entries. */ dout->do_misc = committed; - rc = crt_reply_send(rpc); + rc = crt_reply_send_input_free(rpc); if (rc != 0) D_ERROR("send reply failed for DTX rpc %u: rc = "DF_RC"\n", opc, DP_RC(rc));