Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5021910pxu; Tue, 22 Dec 2020 06:38:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7cjXhmPPntyepOTlYBrLX3hz6rDVxZVeS2LE1gYgI6FSNl+7USTF5THTaXdeSVvlncjrO X-Received: by 2002:a50:ee97:: with SMTP id f23mr19819845edr.311.1608647904058; Tue, 22 Dec 2020 06:38:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608647904; cv=none; d=google.com; s=arc-20160816; b=zO3a16j+DOtRD08kbs2pXK5qD6cDms92tuL6/wSxXUJFsGhaQwj7PBXL7Y0I+T362l oadD+IcRDn8oeqnDthdjsalyZHDHXQOYhMUWwMRtDYWunTcOJ5gqI9sKZ5eRnpR8yjSw Pnbo92I15PE3o8sCIkA/KNrO+RzeLDNQhDipf1joKPXuD2dH7PmjItL9TJEvcaiOnV1O OwVTLBnbuyrrVCLEJFFDJ5yHpuRI//BHn3qFmfCJ6kGGyZbTuGbKCL136T9yWCQSd57m MiGhQPy5gMmgNwTF4o5s+iiSOe20wLcbbIsH9XiLZOnSmXxEKGxnZg8Xj38JFcHg8VU6 qcYw== 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 :dkim-signature; bh=VOk6E6hPe7usXLD5bNCDmNIcAC8JFXb+4t0X8eR9cr4=; b=zLzdrD12O6rOQtaQPpr+ZHv+FOcouoNBtw/Uxonp87h4RSXCstAlt0v9G7r72STys3 0lT7lcHWvfL59bm0GlOWI8X4Inm3DHAr4R4EBYgKL37WXsH9SeK6LtEpyoXQQEgTE1dN eFbxt8lrCukXHs0M4nV759CpIwwL/f63GrKmnBeymtd0jQrUNDC4xqa0TcgrkcXyZKU6 +BM7LkxxlOXQUd2/WMYhO36oKny8v6x78de+sNHI8p5idk7TNP4IIRfvTcR7jWuWUawZ aM2TY2SctHjXN2ouWZq/GShj2F+0ZC051xFeK0aF7hSWQQjYJ4WUF6Fxvqu62avTABgQ +4gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SJrIVV5e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m16si10638004ejj.44.2020.12.22.06.38.01; Tue, 22 Dec 2020 06:38:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SJrIVV5e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727680AbgLVOhw (ORCPT + 99 others); Tue, 22 Dec 2020 09:37:52 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:52923 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727654AbgLVOhw (ORCPT ); Tue, 22 Dec 2020 09:37:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608647785; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VOk6E6hPe7usXLD5bNCDmNIcAC8JFXb+4t0X8eR9cr4=; b=SJrIVV5eVXvMCpxds2FaAP370gHMJTsymQkasmhElVk1sVj0xk9jEYt07EdPohBfgTrugi WoEXSt8aJUhBq+f5U7KQjrsoZuz0MqTcV7yryV/OEnivShpepOIAgDYDhNo2XFmB7WnQuH qkD0OcMtZQCvbiX/JrUKPLdvtgWGie8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-456-6XDxApNmPNKJ09t1PSBSsQ-1; Tue, 22 Dec 2020 09:36:22 -0500 X-MC-Unique: 6XDxApNmPNKJ09t1PSBSsQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B74E910054FF; Tue, 22 Dec 2020 14:36:20 +0000 (UTC) Received: from localhost (unknown [10.18.25.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 24A0D6F977; Tue, 22 Dec 2020 14:36:17 +0000 (UTC) Date: Tue, 22 Dec 2020 09:36:16 -0500 From: Mike Snitzer To: Christoph Hellwig Cc: Palmer Dabbelt , josef@toxicpanda.com, bvanassche@acm.org, corbet@lwn.net, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, song@kernel.org, dm-devel@redhat.com, linux-kselftest@vger.kernel.org, shuah@kernel.org, agk@redhat.com, michael.christie@oracle.com Subject: Re: [PATCH v1 0/5] dm: dm-user: New target that proxies BIOs to userspace Message-ID: <20201222143616.GB12885@redhat.com> References: <30d39293-80a4-9ef5-92bb-6b6dec464be3@toxicpanda.com> <20201222133246.GA5099@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201222133246.GA5099@infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 22 2020 at 8:32am -0500, Christoph Hellwig wrote: > On Mon, Dec 14, 2020 at 07:00:57PM -0800, Palmer Dabbelt wrote: > > I haven't gotten a whole lot of feedback, so I'm inclined to at least have some > > reasonable performance numbers before bothering with a v2. > > FYI, my other main worry beside duplicating nbd is that device mapper > really is a stacked interface that sits on top of other block device. > Turning this into something else that just pipes data to userspace > seems very strange. I agree. Only way I'd be interested is if it somehow tackled enabling much more efficient IO. Earlier discussion in this thread mentioned that zero-copy and low overhead wasn't a priority (because it is hard, etc). But the hard work has already been done with io_uring. If dm-user had a prereq of leaning heavily on io_uring and also enabled IO polling for bio-based then there may be a win to supporting it. But unless lower latency (or some other more significant win) is made possible I just don't care to prop up an unnatural DM bolt-on. Mike