Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp809823img; Thu, 21 Mar 2019 09:22:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyI9zLSHs+rgg14K6khcBBvPe2Y/+Jkoh2xA9a7ZpQeIIP8Cug2xxPGx7IgGT2ZDjEswesE X-Received: by 2002:a17:902:d894:: with SMTP id b20mr4441847plz.318.1553185336105; Thu, 21 Mar 2019 09:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553185336; cv=none; d=google.com; s=arc-20160816; b=EbFsNegrEenUUIm2ZbBJSZbd3WLRRrfhjTwwtqOxPL3ihHEoBtICeFaGiSE0IInBrK Pv2U2oH4shYjKVqLcHgsUnFfgfGJCw5gz/rOtlpp2UPK6Q952tXjf1n0Tsbl3MECMKk5 2OPH/NkdIhxkPkOfOq49gbHqm3oyBxhVXihQtnvqKueutrP74d7zgRlPjGvs9j6P3Vwi +2Afgor02TQWmMeacL5+CqkrMULQOrqkoCZ0+BzZf2Z/C0u2qE6syAR/xgn66f30ydhX 8xAgmDDF3YS+BTHXcjouydkFLG6wS9YZnyNc0GduIxH/dWblYmNU1CCS5erIcQ4Sd2/I NkCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=f8+SIEdnnmF2GvJeZRx7rKlaRXbvhY0Ngjpdp1KBYDY=; b=S8SVseSmt5Uv4fOfvXfmdlhyqY0Ff0CEHOVC+XYZvWF9GCPfVEbfC0BfmyF0rmb7u4 X0HIqF6RTMIKMZa2qpKw5TIv+Fxzb3F2t802wEZ2EnuxIIHFtBWpukzLTzNtWNKEpkZw 0cf8qNhMH0woWEmdTkL4PrjHlRsAS1CQX/WJEfNWGXfsF4guhkwUOR8szS3E2QLSwIFY YM0MB5zSbMPEQZl4Tvnt0AOCgyPZ1WEK5PHLigXlMkgU+M6b/Veo14AxLzqOfaTzRGLd MTCs9H+4VqQVPMMwcfJzV5vXmmSlGAFXFDTngLcQGHnkbOG2qSbet+K6zbQzXE0LiN27 vu2A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f26si4866513pge.226.2019.03.21.09.21.57; Thu, 21 Mar 2019 09:22:16 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728529AbfCUQUn (ORCPT + 99 others); Thu, 21 Mar 2019 12:20:43 -0400 Received: from mga03.intel.com ([134.134.136.65]:37556 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbfCUQUn (ORCPT ); Thu, 21 Mar 2019 12:20:43 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2019 09:20:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,253,1549958400"; d="scan'208";a="144019210" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by orsmga002.jf.intel.com with ESMTP; 21 Mar 2019 09:20:41 -0700 Date: Thu, 21 Mar 2019 10:21:40 -0600 From: Keith Busch To: Stefan Hajnoczi Cc: Maxim Levitsky , Fam Zheng , "kvm@vger.kernel.org" , Wolfram Sang , "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Keith Busch , Kirti Wankhede , Mauro Carvalho Chehab , "Paul E . McKenney" , Christoph Hellwig , Sagi Grimberg , "Harris, James R" , Felipe Franciosi , Liang Cunming , Jens Axboe , Alex Williamson , Thanos Makatos , John Ferlan , Liu Changpeng , Greg Kroah-Hartman , Nicolas Ferre , Paolo Bonzini , Amnon Ilan , "David S . Miller" Subject: Re: Message-ID: <20190321162140.GA29342@localhost.localdomain> References: <20190319144116.400-1-mlevitsk@redhat.com> <488768D7-1396-4DD1-A648-C86E5CF7DB2F@nutanix.com> <42f444d22363bc747f4ad75e9f0c27b40a810631.camel@redhat.com> <20190321161239.GH31434@stefanha-x1.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190321161239.GH31434@stefanha-x1.localdomain> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 21, 2019 at 04:12:39PM +0000, Stefan Hajnoczi wrote: > mdev-nvme seems like a duplication of SPDK. The performance is not > better and the features are more limited, so why focus on this approach? > > One argument might be that the kernel NVMe subsystem wants to offer this > functionality and loading the kernel module is more convenient than > managing SPDK to some users. > > Thoughts? Doesn't SPDK bind a controller to a single process? mdev binds to namespaces (or their partitions), so you could have many mdev's assigned to many VMs accessing a single controller.