Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5278296imm; Tue, 26 Jun 2018 08:38:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJI2tHtPB/2PAZNitYxtHC+o5TF6aElN/nNQI/O4wecTdrKbjvzgV7yuJYi0wUGLhK/nQsu X-Received: by 2002:a65:60c2:: with SMTP id r2-v6mr1874686pgv.324.1530027524722; Tue, 26 Jun 2018 08:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530027524; cv=none; d=google.com; s=arc-20160816; b=ZdIOaluRw3xj+pJnoQ4nW0edVsQDYW1woJ1qzPiu5gU8hNLukNFZgfxUZG7TaT2krc pusCE2qnD1KpBWPUMkmkqQC1Cqgd1mVNdr23/IxSVVXWGiy9i4Ugb+LkKJ8MJNDAEnwS 8y6VhVCmBIZYF0MYM/JE8nuay/srASZjXeCtGa8iHroFhWWzwaN31dPuF+ol0HHnWAOT F9B+6vUq8OuqebnTy3lCwzn/xBovDcWrzpKuEI7s+NRWoUf+kX7qbK5pHtsVClfQqksw hmu5vLsKMgVxZ+OOwH7JiG5kRxEtw0RFNK+D0HMqD9kvHs/rSWN3fr/srtGV5IW3COEp 0qEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=w4bnHdkC916q+k4j6V6XCNjcARY5t+Q9IzUZn/426ro=; b=ZduDU8dNGk29wqw8Gp6anGInzLInac7tXiC5X/+elcTmmw5S5xoGs3UIBxyKwVn9Bf kNnsEINqHkeTDQVPYwGVS2RuluagXBSLIQAQ03l0rvUBnpYctCGkrV56H+Tyu36i1TDG cmnlc4+OOqTcr2QgWAc9EC+V284LtH7ZnSmQGnnZxZR35gto+KuA8hUHOVwoKi+2cfNm wU+a3c9BFvNSzESC2xErd2Kai4xpkIDpJr5d1HSmExsEuhTb4842e48JGl5WjX/TYYZQ PuZLIXWJXMqdvuj5Kpadd3Pm4C31FH5PHWfBbSqQJRGFsAwRU/iWflFDL+xGMuZmRXs1 QQ7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=GQ8dawrk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d30-v6si1718300pla.110.2018.06.26.08.38.30; Tue, 26 Jun 2018 08:38:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=GQ8dawrk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752005AbeFZPg4 (ORCPT + 99 others); Tue, 26 Jun 2018 11:36:56 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:43525 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751144AbeFZPgy (ORCPT ); Tue, 26 Jun 2018 11:36:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1530027415; x=1561563415; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=bUkh17lpERxvU4JnjJvWq4FBD238xDu4V40k4uewZQ0=; b=GQ8dawrkXP7zoXg4B+E74yeHu/pOdEM9ugaOmhEVbDwOEI3EPjj0mMt0 6rr2mIiux0k5dqXSlvThvzoyQWdljGbp4cNZoXB2sITCUpjLDaiGnajvr Jhr+QF9A1Bnx5Yy0f9L71NMhOKvD46tIgcYhOqQs7tvI2QIU1ORbrqzEL JAJcIHGeWApTyniA7jp9UI9HjTF1k4Ll5FdSW4dMHWW/Lcz1deQeK3TDe M8gf2acajk1yZk4KXkmDZyrSckwhhAtX23kiTkfkI6sWX0i8lJV54JyRM fbgzLbstjpwtRQbtNcHdxBJ1Wbutk4+u/khfxwi6hbF3cIzPPWayzVDaH Q==; X-IronPort-AV: E=Sophos;i="5.51,274,1526313600"; d="scan'208";a="84513042" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 26 Jun 2018 23:36:55 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 26 Jun 2018 08:26:28 -0700 Received: from thinkpad-bart.sdcorp.global.sandisk.com (HELO [10.111.67.248]) ([10.111.67.248]) by uls-op-cesaip01.wdc.com with ESMTP; 26 Jun 2018 08:36:54 -0700 Subject: Re: [PATCH] blk-mq: use mutex_trylock to avoid lock inversion To: "jianchao.wang" , "axboe@kernel.dk" Cc: "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" References: <1529391637-1704-1-git-send-email-jianchao.w.wang@oracle.com> <2409013d789ca266879d24c815b76c2193e23fe3.camel@wdc.com> <2c2003ff1baac05688495677f67239d52f6d9527.camel@wdc.com> <2a1dda06-5c7c-b75b-c1ae-75d1a2a49694@oracle.com> From: Bart Van Assche Message-ID: <1d4d1dc3-7014-4e2a-1ea5-e1446381b404@wdc.com> Date: Tue, 26 Jun 2018 08:36:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/25/18 20:47, jianchao.wang wrote: > V2 patch has been posted, would you please take a look at on them ? > https://marc.info/?l=linux-block&m=152965143412927&w=2 Hello Jianchao, Patches 1/3 and 2/3 of that series look fine to me but I don't like the approach of patch 3/3 so please do not expect a review from me for that patch. Thanks, Bart.