Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp658646rwb; Thu, 15 Dec 2022 00:13:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf656Pv5qq+Zd36g63NCODAcAnwVo2+awjsFmY3wZdEcDldXbBQYgrvm4GTIo8Ca9/UeZdhP X-Received: by 2002:a17:902:714d:b0:189:7100:c50f with SMTP id u13-20020a170902714d00b001897100c50fmr23472681plm.48.1671091990310; Thu, 15 Dec 2022 00:13:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671091990; cv=none; d=google.com; s=arc-20160816; b=CqBurklrtj/j4fXgDv5shAAPhJZ0bAGqp0pDxRbwlHAdTSAeAnjzXw/8A3xZlU1t3Q dqW0AG737ZjAwjIyMVwquH7MjrPdqRNKf3YZqdSijNYqhG4e2FyBgHB2TsEyZ7Php3WF 47NuTihx8noeJJNW5aI89Hg9eRQgzahgfMRIdKBLp2VedBSzN2XRgMw+tKOVXoozVT2w 03msfgZsqU5RtCfYdPzlZxwd4RMHdwSVaDcb94wmP8Y3l0QpWAnmFFNk4ZAkyYM7utVn ic71HMbUVRoPANOi0zgYdGBJa3mr/G6hudqp0nQWAkzIoiBEbx9v0Pk0MRgt5U7PeQR1 xltQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:content-transfer-encoding :mime-version:in-reply-to:references:subject:cc:to:from:date :message-id; bh=H4J7ASk3gGq4SRws9iY1EeukuFOMUDwCnaZy5QoLkyQ=; b=NuOAPdJEbe7m8EgPfrh/GbY6pamWdNMOfM5FOkLjv7pqIS9EcpFLAc6tuHz50CxL1g PdsMS+QCunDvWDzaIzjzZn1BYtFigUIpPenN5CVAVKEe0f5d1/VPmAGXpaEvCFie3nz6 ow7TNJJrvuAPK1oeXPgOV+4TG7p+FGM2HrxKM6lMdQ4c0ZBtihu12doNsXFvXqLnhIm6 YcnbHXG8CliBE3dwosDfjtDwFlwARrqn4CK3RcB6ZBg2WWppG2lafABnG7CLFM0k3Yfu giB0excdLOCKeA0z/fRzuZpENhmRZgUpFjdfxqD1DjeTy2/auMFzxpjJukM0Y1e7qcHm 2u6A== 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 p20-20020a170902ead400b0018965245cbesi5170991pld.339.2022.12.15.00.13.01; Thu, 15 Dec 2022 00:13:10 -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; 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 S229658AbiLOIHn convert rfc822-to-8bit (ORCPT + 68 others); Thu, 15 Dec 2022 03:07:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbiLOIHk (ORCPT ); Thu, 15 Dec 2022 03:07:40 -0500 Received: from mx3.uni-regensburg.de (mx3.uni-regensburg.de [194.94.157.148]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C34C91F624; Thu, 15 Dec 2022 00:07:37 -0800 (PST) Received: from mx3.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 1E6F7600005B; Thu, 15 Dec 2022 09:07:35 +0100 (CET) Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by mx3.uni-regensburg.de (Postfix) with ESMTP id 08156600004D; Thu, 15 Dec 2022 09:07:30 +0100 (CET) Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de with Novell_GroupWise; Thu, 15 Dec 2022 09:07:31 +0100 Message-Id: <639AD5C0020000A100050749@gwsmtp.uni-regensburg.de> X-Mailer: Novell GroupWise Internet Agent 18.4.2 Date: Thu, 15 Dec 2022 09:07:28 +0100 From: "Ulrich Windl" To: Cc: "open-iscsi" , , , , , , "Chris Leech" , "Lee Duncan" , , Subject: Antw: [EXT] Re: [PATCH 0/2] scsi:donot skip lun if inquiry returns PQ=1 for all hosts References: <20221214070846.1808300-1-haowenchao@huawei.com> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 >>> Christoph Hellwig schrieb am 15.12.2022 um 08:06 in Nachricht : > On Wed, Dec 14, 2022 at 03:08:44PM +0800, Wenchao Hao wrote: >> When iSCSI initiator logged in target, the target attached none valid >> lun but lun0. lun0 is not an valid disk, while it would response >> inquiry command with PQ=1 and other general scsi commands like probe lun. >> The others luns of target is added/removed dynamicly. > > I can't find any special casing of LUN0 in RFC7144, can you clarify > where you think that treats LUN0 any differently than other transports? Actusally I have no idea, but as a user of FC SAN systems I can remember a case when a storage system had to present a dummy LUN0 to enable hosts to find other LUNs (while LUN0 was never actually used). Maybe the client code was imperfect, I don't know. > > -- > You received this message because you are subscribed to the Google Groups > "open-iscsi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to open-iscsi+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/open-iscsi/Y5rHX95Vvl1aLhbp%40infradead.org > .