Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4072853rwl; Sun, 2 Apr 2023 22:24:12 -0700 (PDT) X-Google-Smtp-Source: AKy350asuDdb2es8Nmvp0q5Ca2o0dKZo3lXauY/T3ZvbXI+5HJhTviwaPAze1qLaenb8TbkbKyXZ X-Received: by 2002:a17:903:1c7:b0:19d:323:e68 with SMTP id e7-20020a17090301c700b0019d03230e68mr43040397plh.1.1680499452338; Sun, 02 Apr 2023 22:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680499452; cv=none; d=google.com; s=arc-20160816; b=yJ7Ty8RIZC23IC+UV4+fM++ZtTFa0Kwwfp5fhlogi0VrzJs1Hhd7VLFG1M/QOarEMk T8WqOVk4Yp4Msv6i3MzY7nltd6xIixSb8AUSKMOu+b+6I4f/PFZMnONE3EnnD64rBwJ1 MqjPOZGjd0nQ1DL2xistYt7H/pZxXe1AIUjTuRnHeuTx3z2BkE/7T8pBVaRjiRw8FxJP m28GoLHgGQLc0eD8cfULqn2d6TPlKo2NZoFJiM5NI0ukaulF2wGk4DFSSHZITbAQNELh CHZFCLoLkFiNvPMyxwWowwV8EbUXA7JHD/o6IKNzMNA4L9ei0lYZDcZkAay7kWo0+vi+ jrWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:reply-to:user-agent :mime-version:date:message-id; bh=xTdUP3e9TDTaEwfyoAphpkmIr0Ls7ylRyzCRwuFzlPI=; b=PC9xigpDVNS6UQynDTtVxfDLBZ7BPLgzPTyW6k3Lu64JSFy07s8daKCPJu2jeLJnJI fc47b2nuI5rRyxpgr6iZHTQDUjrf7zNbVNgnfLy9QYb/trmKwfb2mdC+CVuPuyy6lPqO 2Yc/WOq0/WosZ53CwYbVbEt0oDRPzFu9ydUEC1dLvM43obkHT6+pgclVp5+nzYLBWva7 YVDbDCtzyDEumj6i81sO6PgybtTgGKrlihZ7LhKiX4u+1UNyrnYVKfCOxVwd8r6G96yg MxS9Av/a71Q1MNyE9kg3clk8E/qovVHIJrQ125GaawZ3nlUGzasau/cpHkviItGGzhfe Z6rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l14-20020a170902f68e00b001a0543fb660si7714091plg.160.2023.04.02.22.24.01; Sun, 02 Apr 2023 22:24:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231485AbjDCFUf (ORCPT + 99 others); Mon, 3 Apr 2023 01:20:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230516AbjDCFUe (ORCPT ); Mon, 3 Apr 2023 01:20:34 -0400 Received: from mp-relay-01.fibernetics.ca (mp-relay-01.fibernetics.ca [208.85.217.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4826655A7; Sun, 2 Apr 2023 22:20:33 -0700 (PDT) Received: from mailpool-fe-02.fibernetics.ca (mailpool-fe-02.fibernetics.ca [208.85.217.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mp-relay-01.fibernetics.ca (Postfix) with ESMTPS id 827C9E1ABA; Mon, 3 Apr 2023 05:20:32 +0000 (UTC) Received: from localhost (mailpool-mx-02.fibernetics.ca [208.85.217.141]) by mailpool-fe-02.fibernetics.ca (Postfix) with ESMTP id 7331B60A47; Mon, 3 Apr 2023 05:20:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at X-Spam-Score: -0.2 X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from mailpool-fe-02.fibernetics.ca ([208.85.217.145]) by localhost (mail-mx-02.fibernetics.ca [208.85.217.141]) (amavisd-new, port 10024) with ESMTP id ikKovPEy1rRc; Mon, 3 Apr 2023 05:20:32 +0000 (UTC) Received: from [192.168.48.17] (host-184-164-23-94.dyn.295.ca [184.164.23.94]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: dgilbert@interlog.com) by mail.ca.inter.net (Postfix) with ESMTPSA id B78F3609E9; Mon, 3 Apr 2023 05:20:31 +0000 (UTC) Message-ID: <0ff6fe6a-1661-f596-5d64-42499bb2798f@interlog.com> Date: Mon, 3 Apr 2023 01:20:31 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Reply-To: dgilbert@interlog.com Subject: Re: [PATCH v3 08/11] scsi: scsi_debug: Use blk_mq_tagset_busy_iter() in stop_all_queued() Content-Language: en-CA To: John Garry , jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, bvanassche@acm.org References: <20230327074310.1862889-1-john.g.garry@oracle.com> <20230327074310.1862889-9-john.g.garry@oracle.com> From: Douglas Gilbert In-Reply-To: <20230327074310.1862889-9-john.g.garry@oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-03-27 03:43, John Garry wrote: > Instead of iterating all deferred commands in the submission queue > structures, use blk_mq_tagset_busy_iter(), which is a standard API for > this. > > Signed-off-by: John Garry Acked-by: Douglas Gilbert Thanks.