Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2573758iog; Sun, 19 Jun 2022 23:03:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vglBC1/1md86kzfqH+kZDESkViu/FzN0HoqoW6TMKVnMFKfAe2fR2AXSsahIB1fd5u1p2A X-Received: by 2002:a05:6402:34d6:b0:42e:2a6a:5dc4 with SMTP id w22-20020a05640234d600b0042e2a6a5dc4mr27052842edc.361.1655704991548; Sun, 19 Jun 2022 23:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655704991; cv=none; d=google.com; s=arc-20160816; b=VuRbyrde7yF0XNg2ARI4OMYMpMho4CO3bWFPhD5jYLpIyU1YQI+2P0SOPCmboRxSyQ 6dTbc+xC8u3nZ/dZ5EXhyQvXpMp2aksq4FidsB36euXLepFVNL38CDG9lq1CDP0njAWg UUeI4Z6OP13V4Qd+MQeiABkz9cFQtF0BL/g6KqBkVDt0jtar1sc2bMsXC493NMqmOJIZ 68efySu7JVFU2nlqLUQ6S9ji84lnSRUiSKVi8jTeMaC/5Df5Ht4K2c3zDwo+jeJSUg3R /ZJ3suLZpwkEAkSQA85aVezN39SHzdKyiX0Yo94r9UZr4sQWHcB82YRHZwRx6hYliVMg Am/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6IteYUVGxmHbxaIe4fUmh/9gyui1EAyQ58DUi1hSrTA=; b=U9PQCentZCzeGSsfQCBjxQjRJqbrxvLEB/W9edcecuuo0QOOf4pToRk5/T6RooCqe3 Oe17439IPSXZFyAM0Im+1nGNCim/cjcdTkAhSZwW/UJ+bDZNol5L+8ZAcLnZDRAVoKb8 DXx3loDimme47+cFZ6423x3+tJMyWiki+5aUb/efklpollLCryFDnaGauEUbn9Mqo/Q6 X9weDWRib5M0gwuDzdFHRJNt+7ug0iIVtSLwVWoJvgabKCoMm7DI7y0DYFl6D0AF9rey XjA9QUKcJFYxq2fr+A21ogR+k+ll5M+hBkUG1rsV5ED1t4bvw5r4f09ixBodHIriGaox P5sQ== 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 hp8-20020a1709073e0800b00718d033df10si13785065ejc.448.2022.06.19.23.02.45; Sun, 19 Jun 2022 23:03:11 -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 S238338AbiFTF6h (ORCPT + 99 others); Mon, 20 Jun 2022 01:58:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbiFTF6f (ORCPT ); Mon, 20 Jun 2022 01:58:35 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6815DEB1; Sun, 19 Jun 2022 22:58:32 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 6EF536732D; Mon, 20 Jun 2022 07:58:28 +0200 (CEST) Date: Mon, 20 Jun 2022 07:58:28 +0200 From: Christoph Hellwig To: John Garry Cc: axboe@kernel.dk, damien.lemoal@opensource.wdc.com, bvanassche@acm.org, hch@lst.de, jejb@linux.ibm.com, martin.petersen@oracle.com, hare@suse.de, satishkh@cisco.com, sebaddel@cisco.com, kartilak@cisco.com, linux-rdma@vger.kernel.org, linux-mmc@vger.kernel.org, linux-nvme@lists.infradead.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org, mpi3mr-linuxdrv.pdl@broadcom.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, nbd@other.debian.org Subject: Re: [PATCH 1/5] scsi: core: Remove reserved request time-out handling Message-ID: <20220620055828.GA10192@lst.de> References: <1655463320-241202-1-git-send-email-john.garry@huawei.com> <1655463320-241202-2-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1655463320-241202-2-git-send-email-john.garry@huawei.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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 Fri, Jun 17, 2022 at 06:55:16PM +0800, John Garry wrote: > The SCSI code does not currently support reserved commands. As such, > requests which time-out would never be reserved, and scsi_timeout() > 'reserved' arg should never be set. > > Remove handling for reserved requests and drop wrapper scsi_timeout() as > it now just calls scsi_times_out() always. Please rename scsi_times_out to scsi_timeout so it still matches the method name. Otherwise looks good: Reviewed-by: Christoph Hellwig