From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98515CD54A7 for ; Tue, 19 Sep 2023 08:07:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230341AbjISIHT (ORCPT ); Tue, 19 Sep 2023 04:07:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbjISIHS (ORCPT ); Tue, 19 Sep 2023 04:07:18 -0400 Received: from out-216.mta1.migadu.com (out-216.mta1.migadu.com [95.215.58.216]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4593711C for ; Tue, 19 Sep 2023 01:07:12 -0700 (PDT) Message-ID: <5a4efe6f-d8c6-84ce-377e-eb64bcad706c@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1695110830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZXHK3GWZkIlEJU13b+xE11wlY/8gP4LPqxTUY8gqUTo=; b=fO0/ZDDunDKni//vPs6Yhr9HTxgzjB2cXXteeWVbt5r1C7hiPlh3J+cH47tq1dLeTmYw1v y/jH5vaUdWda/VDEHg2z0NEUUjWKHiUtToOXUUeBk1AB2Zqmfm1B58yQWUfwpKTi3Zjri5 IRZMK9DRIEnkrBNuu73pgAX/Ckdur/o= Date: Tue, 19 Sep 2023 16:07:03 +0800 MIME-Version: 1.0 Subject: Re: [bug report] blktests srp/002 hang To: Shinichiro Kawasaki Cc: Bob Pearson , Bart Van Assche , "linux-rdma@vger.kernel.org" , "linux-scsi@vger.kernel.org" References: <0c5c732c-283c-b29a-0ac2-c32211fc7e17@gmail.com> <8be8f611-e413-9584-7c2e-2c1abf4147be@acm.org> <18a3ae8c-145b-4c7f-a8f5-67840feeb98c@acm.org> <9dd0aa0a-d696-a95b-095b-f54d6d31a6ab@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zhu Yanjun In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org 在 2023/9/19 12:14, Shinichiro Kawasaki 写道: > On Sep 16, 2023 / 13:59, Zhu Yanjun wrote: > [...] >> On Debian, with the latest multipathd or revert the commit 9b4b7c1f9f54 >> ("RDMA/rxe: Add workqueue support for rxe tasks"), this problem will >> disappear. > > Zhu, thank you for the actions. > >> On Fedora 38, if the commit 9b4b7c1f9f54 ("RDMA/rxe: Add workqueue support >> for rxe tasks") is reverted, will this problem still appear? >> I do not have such test environment. The commit is in the attachment, >> can anyone have a test? Please let us know the test result. Thanks. > > I tried the latest kernel tag v6.6-rc2 with my Fedora 38 test systems. With the > v6.6-rc2 kernel, I still see the hang. I repeated the blktests test case srp/002 > 30 time or so, then the hang was recreated. Then I reverted the commit > 9b4b7c1f9f54 from v6.6-rc2, and the hang disappeared. I repeated the blktests > test case 100 times, and did not see the hang. > > I confirmed these results under two multipathd conditions: 1) with Fedora latest > device-mapper-multipath package v0.9.4, and 2) the latest multipath-tools v0.9.6 > that I built from source code. > > So, when the commit gets reverted, the hang disappears as I reported for > v6.5-rcX kernels. Thanks, Shinichiro Kawasaki. Your helps are appreciated. This problem is related with the followings: 1). Linux distributions: Ubuntu, Debian and Fedora; 2). multipathd; 3). the commits 9b4b7c1f9f54 ("RDMA/rxe: Add workqueue support for rxe tasks") On Ubuntu, with or without the commit, this problem does not occur. On Debian, without this commit, this problem does not occur. With this commit, this problem will occur. On Fedora, without this commit, this problem does not occur. With this commit, this problem will occur. The commits 9b4b7c1f9f54 ("RDMA/rxe: Add workqueue support for rxe tasks") is from Bob Pearson. Hi, Bob, do you have any comments about this problem? It seems that this commit is not compatible with blktests. Hi, Jason and Leon, please comment on this problem. Thanks a lot. Zhu Yanjun