Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2271015ybl; Thu, 15 Aug 2019 09:08:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqypTo/zywVQSG4fYuZZuT4xQgzuqLXZ+uAz55nlKOof74gtHZ82j2FyYhCBqQXEKOuD1aRB X-Received: by 2002:a65:65c5:: with SMTP id y5mr4023701pgv.342.1565885308351; Thu, 15 Aug 2019 09:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565885308; cv=none; d=google.com; s=arc-20160816; b=jCTLX5KtkUAMt3zJN2/1/67tDEzGcg2zG0YX92aYZybmF7B/tk4ydUehalzSEhU0nK /kwNr0PpuUFvgHVxoP1losNsbdHcvCJ6ifqoaZUSz+Tyf2JG/Dz7loPq7dw6TieavaPO HSshSwDAUC+IzIDGnqe0EkusAyI8IVbk3MhHQaGh70zgFruhXpDpp/R91EpLe3PAvO2s 3Po+igrOJwBz14te2n2CDyCHMpuXCS+lopzJowAr2KeIos8g2cdtMd0CUsDH0N2OWb2H 2HQbyLapv6Xe1gbkHwL54p+q/Mvb94jw8jZ/81PpvA+3jjA7lEEpnbR9+xR/e1nvU/OX Qf+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to; bh=T9mfMi3T8fhD+h6bvt2wKqHa+CXbxERV+oWyUG2a5RE=; b=E1EitaqZ0Xtow57KjCYydVQtnFnCDahRZf5kWp1BH8d0KgMpQgX0bz7QSGm4goLXTA ZCaDzoqvVXN3/F3QoHNTvIsxbxZGur7DfVNYoZJeRrGwCTrjY3iOFub7o5H+Ri0q8+Hp bLik9nj1vUETymuUR35A9mybZLfwSAzAxLEDFYmYh1Yc9EXk7TymWzwCGs3ePV2/URiz EHNF+3xWcn8iyfro4lWdy3uVt/x0YT58d142oCgBTjtCkwJdaLrbPCIg2rvRJRnn2y22 Bso+GWwy5z5xKVSBu+vd+hd1CH1GoTAwoTO8KgPHD9rVQnWI5ROr3pHQwCIyeCY/x0H6 58sQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v19si1173616pjn.96.2019.08.15.09.08.12; Thu, 15 Aug 2019 09:08:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730531AbfHOQHH (ORCPT + 99 others); Thu, 15 Aug 2019 12:07:07 -0400 Received: from ale.deltatee.com ([207.54.116.67]:59356 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbfHOQHH (ORCPT ); Thu, 15 Aug 2019 12:07:07 -0400 Received: from s0106ac1f6bb1ecac.cg.shawcable.net ([70.73.163.230] helo=[192.168.11.155]) by ale.deltatee.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hyIHB-0001BN-TF; Thu, 15 Aug 2019 10:06:58 -0600 To: Max Gurtovoy , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org Cc: Christoph Hellwig , Sagi Grimberg , Keith Busch , Jens Axboe , Chaitanya Kulkarni , Stephen Bates References: <20190801234514.7941-1-logang@deltatee.com> <20190801234514.7941-9-logang@deltatee.com> <05a74e81-1dbd-725f-1369-5ca5c5918db1@mellanox.com> From: Logan Gunthorpe Message-ID: Date: Thu, 15 Aug 2019 10:06:56 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <05a74e81-1dbd-725f-1369-5ca5c5918db1@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 70.73.163.230 X-SA-Exim-Rcpt-To: sbates@raithlin.com, Chaitanya.Kulkarni@wdc.com, axboe@fb.com, kbusch@kernel.org, sagi@grimberg.me, hch@lst.de, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, maxg@mellanox.com X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-8.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [PATCH v7 08/14] nvmet-core: allow one host per passthru-ctrl X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-08-15 6:36 a.m., Max Gurtovoy wrote: > > On 8/2/2019 2:45 AM, Logan Gunthorpe wrote: >> This patch rejects any new connection to the passthru-ctrl if this >> controller is already connected to a different host. At the time of >> allocating the controller we check if the subsys associated with >> the passthru ctrl is already connected to a host and reject it >> if the hostnqn differs. > > This is a big limitation. > > Are we plan to enable many front-end ctrl's to connect to the single > back-end ctrl in the future ? Honestly, I don't know that it's really necessary, but the limitation was requested by Sagi the first time this patch-set was submitted[1] citing unspecified user troubles. If there's consensus to remove the restriction I certainly can. Logan [1] http://lists.infradead.org/pipermail/linux-nvme/2018-April/016588.html