From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-m1973184.qiye.163.com (mail-m1973184.qiye.163.com [220.197.31.84]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 1BDFD420618 for ; Mon, 24 Jun 2024 07:52:01 +0200 (CEST) Received: from localhost.localdomain (unknown [218.94.118.90]) by smtp.qiye.163.com (Hmail) with ESMTPA id 9F2417E06F0 for ; Mon, 24 Jun 2024 13:46:26 +0800 (CST) From: "zhengbing.huang" To: drbd-dev@lists.linbit.com Subject: [PATCH 11/11] drbd_transport_rdma: wake up state_wq after clear DSB_CONNECTED in dtr_tx_timeout_work_fn Date: Mon, 24 Jun 2024 13:46:19 +0800 Message-Id: <20240624054619.23212-11-zhengbing.huang@easystack.cn> In-Reply-To: <20240624054619.23212-1-zhengbing.huang@easystack.cn> References: <20240624054619.23212-1-zhengbing.huang@easystack.cn> List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Dongsheng Yang Signed-off-by: Dongsheng Yang --- drbd/drbd_transport_rdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drbd/drbd_transport_rdma.c b/drbd/drbd_transport_rdma.c index 0cd639254..2df33af90 100644 --- a/drbd/drbd_transport_rdma.c +++ b/drbd/drbd_transport_rdma.c @@ -1572,6 +1572,7 @@ static void dtr_tx_timeout_work_fn(struct work_struct *work) if (!test_and_clear_bit(DSB_CONNECTED, &cm->state) || !path) goto out; + wake_up(&cm->state_wq); transport = path->path.transport; tr_warn(transport, "%pI4 - %pI4: tx timeout\n", &((struct sockaddr_in *)&path->path.my_addr)->sin_addr, -- 2.27.0