Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp787218rwj; Fri, 23 Dec 2022 08:04:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXsqLrxFTLl6h/cZ+0NRTXmOGafu0VImnfunE6IJ6tAkOT6DyoYJSGcipa18OKnNSq1H6KG/ X-Received: by 2002:a17:906:8517:b0:7c0:a48b:2dff with SMTP id i23-20020a170906851700b007c0a48b2dffmr12415340ejx.43.1671811488338; Fri, 23 Dec 2022 08:04:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671811488; cv=none; d=google.com; s=arc-20160816; b=LYEcQFV4i3hQofXSYcOpx5W2qwJiqZYWsub94+d9Smmq0FANAOTdyLcxsb5QFsCNZ1 k3oyG6uZcxUzSiQG8alFkMsiRaaIsKfoBzQJyv2SnUv0gyJFDUZZUWFLOGyAzNVop1dr ZVYGsC8n4K80ov5V51W8a2BRuf6lLW6MlsapQ4LlE7XXRCNt1jZyOxnZwl3nuf9xDgRQ 8AjpP67EBDaXAqEGs/Hc+zT/3KsHnUyax8qxJNtESIEp8q7H8TH0fgammTigZr29Smcw KQH/ZXj/xvrpFdHgQgkHZWSzfYdh0kLH3oeIN+JwYOztnKSox+0lBSSGuMtNkANoR/BL 3uUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XlaGZY8DMBQJstKTpQhCotmCLDPFAe/nfsCTint1ghw=; b=ker5VrcCRTmyzl74GmqRlZR68ZmRRQyX/2txHYVCYurSt4b98dWpsFp1AcV+7u+Sto RtH8LTgSoDgn4btXfAXTaajjRRdXzKYZ1JHRCKBKeMGxmV/1TEFsm8CvkUj0ozAgH7oO 79GzJ4C4k6D8LzZ1MFSVDVegZ1Si9sWhxY7op1NdDN9jN8HeZoJw8V/cQk7MkMd8MUHL SPspKvDV44jIPk9hYNFJlW8t4diINMQwDy9rKNXOR5a2xPt36ed0BalZRwtCyfVmPWhh mWeKJCyp2MI/fg2VoJyNbraXCl3ywcEQJzNrRwKXizDoedwjZ54iO6tJSeP6U0lw85cr LJpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=uRAoWlvt; 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 mp26-20020a1709071b1a00b007d82520def2si3027415ejc.675.2022.12.23.08.04.31; Fri, 23 Dec 2022 08:04:48 -0800 (PST) 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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=uRAoWlvt; 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 S236250AbiLWPzG (ORCPT + 66 others); Fri, 23 Dec 2022 10:55:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbiLWPzE (ORCPT ); Fri, 23 Dec 2022 10:55:04 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E122645B; Fri, 23 Dec 2022 07:55:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=XlaGZY8DMBQJstKTpQhCotmCLDPFAe/nfsCTint1ghw=; b=uRAoWlvtWYebzOjr+Qq8FXA0TQ 6sclV/2EdQf72+yzq4+niwwyR3zRevgTgY6sLEtNT5dnE8C44JVG99YEMItskygBk8/CfaO1nCfWZ swoyhtqvUCwO/GIxDJUBBB3aPXi0FhAZJsubVJnpFKjApr1acqxKOi7kMyVkaPybFkfpL3X59Mj/A mUp8P9I3Z2BYj2EvuyKykAlf7K4UyPT54U6/WsJFoBQncm7ZOzvCOAlRq5o40L2u5LiEe5gYhIDrv tUoGm8bhp+uA8rHOT9F5Enx9tZ7I57dXqBJtVq4YsJPirwRLgeH3bGmE+G34R5zdWap9X6CQpYEzO JS1sYSBg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8kNh-009gH5-SN; Fri, 23 Dec 2022 15:54:45 +0000 Date: Fri, 23 Dec 2022 07:54:45 -0800 From: Christoph Hellwig To: Wenchao Hao Cc: Christoph Hellwig , "Martin K . Petersen" , Mike Christie , "James E . J . Bottomley" , Lee Duncan , Chris Leech , open-iscsi@googlegroups.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, liuzhiqiang26@huawei.com, linfeilong@huawei.com Subject: Re: [PATCH 0/2] scsi:donot skip lun if inquiry returns PQ=1 for all hosts Message-ID: References: <20221214070846.1808300-1-haowenchao@huawei.com> <57c12317-c229-8cbe-b3d2-d799ea5f554c@huawei.com> <5129c84b-38e5-8be4-6411-fcc003776d70@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5129c84b-38e5-8be4-6411-fcc003776d70@huawei.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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, Dec 16, 2022 at 07:41:26PM +0800, Wenchao Hao wrote: > For nothing, I want the iscsi_tcp transport do not skip PQ=1 default > as what it did before commit 948e922fc4461 ("scsi: core: map PQ=1, > PDT=other values to SCSI_SCAN_TARGET_PRESENT"). Well, that commit was very much intentional and is now three an a half years old, so we've not just going to partially revert it on a per-transport basis when it is in no way transport related. If you can come up with a good enough rationale we could do the sysfs override, but so far the reason mostly seems to be "I want" and not anctual explanation of why it is useful.