Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2010293pxb; Mon, 8 Mar 2021 11:37:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwq4/edO1eR+I5CtY1+8UOTyIbePR0Evqa0PhIjDlqdAIjxM0TYdycORzfTNY4bdgHkn9un X-Received: by 2002:a17:906:7d48:: with SMTP id l8mr16339855ejp.108.1615232223165; Mon, 08 Mar 2021 11:37:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615232223; cv=none; d=google.com; s=arc-20160816; b=c9oF5H3EwPhNP+vLGGZaNLLog/zIHFSMahIagvwmJ+vRZbhrbGDcf47fo7PuHZJpIB LBb+7dsNm/ToukEzbWaDqZQLckXFLg+KlBRKagLrUgarm5V0vTTFe/IBFnnn9yfm2it1 3yVja9FRJLo0lw2mVG09lBq3i12F+o9vuvnaecBAUbiG4IyY9f87x6bf5hAl2dGV9HFW UWR8aXyMPf0fzXoY7nMiY+nC9n1IjhC4itnFE6SkK0NXaOx+SRfArf49UMcAfDCZxp5W WJWCUex5qZuBrRvsewudbsFGgvPATXecCgCAcR8mpwD1k5PLORVqdiCa5im+WtjPXQ9z WcOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=aqpkkYWGnOlTlzWLy40cJ0EmokNsDDvU2Mb4GyPS4Mg=; b=EE6jsrvRr3bXZ2NQpRX8LYoHX1vfbAZ0g4O+iUakW6n7cHD2j+XLxeYE8iuUADWPcT GPfeuIOoxLEJp/IwMtZwkpwUVErS8LTjjzHTWv2fmlEyn0vYaKTK1MzVQLmdJsaanfNE STdAkUJA6sSpvF1fY2B2uA9IIos64NneIJ/IJ4MgWZVpr5FUmz/43lDDbN5UPEwObWiu v1Q4XoDyMBtdVcTgzrWGt2IPp/QqTWs/QgztvOY2akfkaCBHia/p+bp1Tcywe5bdswKA TJNQEEdoVETyFm4SOCCjSAMinZ4QMBP+e1AkAA4qCtXeXcl+YKf0vAkyCwMlHg4lc1ku +0Pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id br23si7528889ejb.740.2021.03.08.11.36.39; Mon, 08 Mar 2021 11:37:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230046AbhCHTfl (ORCPT + 99 others); Mon, 8 Mar 2021 14:35:41 -0500 Received: from mail-pf1-f181.google.com ([209.85.210.181]:34252 "EHLO mail-pf1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbhCHTfO (ORCPT ); Mon, 8 Mar 2021 14:35:14 -0500 Received: by mail-pf1-f181.google.com with SMTP id m6so7907556pfk.1; Mon, 08 Mar 2021 11:35:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aqpkkYWGnOlTlzWLy40cJ0EmokNsDDvU2Mb4GyPS4Mg=; b=NK/GUx3R+lvj5/5s7sEqEXllJ3H0xkuFVUrjX5PGd9iM/NW4Kr4zU4iHPFLWwbdfjw PCqzggC/p6fQusJVwb/kchxsiTxSeTyPvryGKl7XT3HuamAM6K3Eizh7niJ606Nz2S0a fVuc35m33uSv0ehKr4yP+ivIEeJhVJJWflQ8ypV8BkI00tLDlczBFnlmqPlDCExKhcF6 A3Ekq8Dn4MKApfsMtKJrs3aU9CA+vN/cDEM0JGWT9+dcnCyZ1cYGG7StIjYb3KS5pNHq kulKPGM+6qjm0/VUH3hv4KkJLdPhyR0l8whRCBdGDDaPPONtSyxSmVTzwq1vS4Serjvm FWdA== X-Gm-Message-State: AOAM5305E0GGg+Vg53SRHiotrQlzcqfxo5rJ2/Q9op+C6uQACblH1xi6 Ts9lw5lF03qmSZBHjbRspN3TUXNI90U= X-Received: by 2002:a62:6304:0:b029:1c0:d62d:d213 with SMTP id x4-20020a6263040000b02901c0d62dd213mr22523518pfb.79.1615232114106; Mon, 08 Mar 2021 11:35:14 -0800 (PST) Received: from [192.168.51.110] (c-73-241-217-19.hsd1.ca.comcast.net. [73.241.217.19]) by smtp.gmail.com with ESMTPSA id t12sm82201pga.85.2021.03.08.11.35.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Mar 2021 11:35:13 -0800 (PST) Subject: Re: [RFC PATCH v3 2/3] blk-mq: Freeze and quiesce all queues for tagset in elevator_exit() To: John Garry , hare@suse.de, ming.lei@redhat.com, axboe@kernel.dk, hch@lst.de Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, pragalla@codeaurora.org, kashyap.desai@broadcom.com, yuyufen@huawei.com References: <1614957294-188540-1-git-send-email-john.garry@huawei.com> <1614957294-188540-3-git-send-email-john.garry@huawei.com> <52618092-07ca-ecb5-320f-957af26ab146@acm.org> <3c6cbe11-ac31-9a47-0096-17fbd584b83e@huawei.com> From: Bart Van Assche Message-ID: <072178c2-a112-8f35-8f60-e5c1396561d7@acm.org> Date: Mon, 8 Mar 2021 11:35:11 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <3c6cbe11-ac31-9a47-0096-17fbd584b83e@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/8/21 2:50 AM, John Garry wrote: > Please let me know further thoughts. Hi John, My guess is that it is safe to nest these two locks. I was asking because I had not found any information about the nesting in the patch description. Bart.