Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp371033pxf; Wed, 10 Mar 2021 08:02:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzX0A0rhJIYWB/wsNl7r07QMGkWAxO1dRbwczHSc5eS9Mf+m13xLdsKCDfFAFPIsy3G3IoL X-Received: by 2002:a17:906:66cf:: with SMTP id k15mr4390485ejp.296.1615392132521; Wed, 10 Mar 2021 08:02:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615392132; cv=none; d=google.com; s=arc-20160816; b=gQ0DDDwu3XwZm99yXjYQXeQS4MIy9O9F6B4nbfV9lBtB5oJ/lhpkzJDFpFzk7WpWgN 59f0/ee6bclcbbNoH6TRe5TTVcXY43HrtL8A0hnPrlUkqdFA7iv0vBhjRM5dVC/4i8fW XFqo1ZaTueoIOywbY7I4MusEEUzMSgkTIQR99r4po2OqII0fOVSbNUis4G+/p4HMRwSd KhJ4yp0h/VXWtLZMxWMvXbutwOXf/a/2QS3QGZlThUBmh93Hcx94gkcNFQfv9mig3CdX WZ0nADkkqCtRf0NvONVL304BSbInPMtdMOkOcVIKpryqjii5XS0kKGWwcCM72h8ijbbn dxFA== 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=gTwMkf5H85+AwIlFCgASM8JJ1kngo6AI9p9ZpfcgmvM=; b=KU05g/jjJiT9zgDHdVh4StthrfTlF2TS3HgPZAS8r0SJGpNo7dVJI8sV8HoZTFidL3 1iDnT/Boc0OVKaUeJ5xHVZ3GCgI/+xVIJdtvUEPFlcaLruUsLrfmqdoR4XYuywsRAMGY ZvYHoRrbFtHUt0pSGbWycKrGMl823pqK3Tm6zRV2wbe0USc7/gEt/hqY9/EsFp1zI1dI dx9kytle5+B/7KQ43vLvkSoby95ysb2d7KzZxtUJWjpsNn6DI8imgHz/b95JeEcAqsGU fYcHfxpYUZjS1r08FvRoox9m9zAsiwXel37i1nxtQjX3GjipHdRq+MEwnOPzX2cx9TCk A50g== 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 jt20si12096261ejb.157.2021.03.10.08.01.43; Wed, 10 Mar 2021 08:02:12 -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 S232191AbhCJQAm (ORCPT + 99 others); Wed, 10 Mar 2021 11:00:42 -0500 Received: from mail-pg1-f175.google.com ([209.85.215.175]:33608 "EHLO mail-pg1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232422AbhCJQAS (ORCPT ); Wed, 10 Mar 2021 11:00:18 -0500 Received: by mail-pg1-f175.google.com with SMTP id g4so11679179pgj.0; Wed, 10 Mar 2021 08:00:18 -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=gTwMkf5H85+AwIlFCgASM8JJ1kngo6AI9p9ZpfcgmvM=; b=CAt2F3o0M6XE4dp9Kft/xeRH12Q/olpkXCb9CbLblL3PC08AZxKXtVX7cOuILUSVLh VxG/+l0XtVFQvrEAO2y3CaY+Bv8DMcwsSQ3E/04YK+FUu/skUGMU2Js2vLj+hOCCuoWQ xL5sj6RJ5JGbsJdvrOjsXW99wzBh0HlXawQtT27WDV2VWMKexhkNMF8fR8C9zWA/Qjpi kJMXOV9gbgxWpdywxEuLBXsqIoYsXoBKTxORzwkR4EfF4h80djEHn31PKfaQhURuFFyd EMIvaW2f87FA0KKFuLQ3n35IgORHhSUL9/7VvJSHOGljyJ/DcQVN/qsOLZuGUN+GTWja qxdw== X-Gm-Message-State: AOAM530I2MCmWSFI7KF8JCiLyHqnVHIe0MJ1X21ziLSDBgqPrPsHcWYZ jySsGs+qa8F62ErA503iU3o= X-Received: by 2002:a65:5281:: with SMTP id y1mr3289962pgp.12.1615392017618; Wed, 10 Mar 2021 08:00:17 -0800 (PST) Received: from [192.168.50.110] (c-73-241-217-19.hsd1.ca.comcast.net. [73.241.217.19]) by smtp.gmail.com with ESMTPSA id l22sm2661790pjl.14.2021.03.10.08.00.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Mar 2021 08:00:16 -0800 (PST) Subject: Re: [RFC PATCH v3 3/3] blk-mq: Lockout tagset iterator when exiting elevator 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-4-git-send-email-john.garry@huawei.com> <48a3cf78-3f6d-c13c-bca2-1f8277817b45@acm.org> <9c9360bf-7ca9-5c8f-c61d-441044f9c78f@huawei.com> <784a3686-cb54-561d-740c-30e0b3f46df8@acm.org> From: Bart Van Assche Message-ID: Date: Wed, 10 Mar 2021 08:00:14 -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: 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/10/21 12:52 AM, John Garry wrote: > On 09/03/2021 19:21, Bart Van Assche wrote: >> Regarding this patch series, I have shared the feedback I wanted to >> share so I would appreciate it if someone else could also take a look. > > So I can incorporate any changes and suggestions so far and send a > non-RFC version - that may get more attention if none extra comes. > > As mentioned on the cover letter, if patch 2+3/3 are accepted, then > patch 1/3 could be simplified. But I plan to leave as is. > > BTW, any issue with putting your suggested-by on patch 2/3? Hi John, I have added my Reviewed-by to patch 2/3. Regarding the other two patches in this series: I do not agree with patch 3/3. As I have explained, I am concerned that that patch breaks existing block drivers. Are patches 1/3 and 3/3 necessary? Or in other words, is patch 2/3 sufficient to fix the use-after-free? Thanks, Bart.