From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 52CD7387 for ; Fri, 19 Apr 2024 00:55:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713488136; cv=none; b=ci16zg5G0ZdDSP6YiSXDueHFbdQQI7bWvnDibphdSHJ+7+MNRKnBu/DJd7QMkrpDmTZag6u3+vxhG7+X8l9XmGrJrI2c1pMY8t4LU6z8X9MReO6kswBmuIxZsHnFosrsl9MKi85ET2jNzZaWsWM8m2lHdio/6UWYygam21RdJJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713488136; c=relaxed/simple; bh=ehpO5fG2BSF+1lugs8ItCmF5LmwD7qIsCroqaCt6VqU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RoY6kF3n1LbrIpT8h2AZT7xFovfwcUbpGbmvKBRyZcUzyYsPwf6Ccc7huKAO5BkRpZEaRYs8Jj/RCte1JYe/ri1xCAxJXVZWXO855lOai1kgbp/cGnXZp6o/PRQDRg4EMUduVZFg8CtMSJCeYNU0/9QPcIw63RmUOIX1AXRhJzU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=P2tdAHNd; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="P2tdAHNd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713488133; 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=nWxMOFlJzgP0C20kJOnoeu6yGkyD+A/iEAYOmCMiLrQ=; b=P2tdAHNdha3SqB7P047S3AAIR55fzRqdWgKcGoiWWLnkMzIGiQ6Kky3n2JjoYJDYEutps9 aWDcOpy/S4GrYEJijbdMS8ElIpRQckQAQ29GRcmcGOvZtgZF+auOnmbmDJvwySbCdqScj8 mN1RVaGJzsz8SIRajr6IG+ugjYGRlLs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-193-hjxNktGTP-KOdvBqf6dUpg-1; Thu, 18 Apr 2024 20:55:30 -0400 X-MC-Unique: hjxNktGTP-KOdvBqf6dUpg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BC5BC18065B3; Fri, 19 Apr 2024 00:55:29 +0000 (UTC) Received: from fedora (unknown [10.72.116.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A79A82166B32; Fri, 19 Apr 2024 00:55:26 +0000 (UTC) Date: Fri, 19 Apr 2024 08:55:22 +0800 From: Ming Lei To: Jens Axboe , io-uring@vger.kernel.org Cc: linux-block@vger.kernel.org, Pavel Begunkov , Kevin Wolf Subject: Re: [RFC PATCH 0/9] io_uring: support sqe group and provide group kbuf Message-ID: References: <20240408010322.4104395-1-ming.lei@redhat.com> Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240408010322.4104395-1-ming.lei@redhat.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 On Mon, Apr 08, 2024 at 09:03:13AM +0800, Ming Lei wrote: > Hello, > > This patch adds sqe user ext flags, generic sqe group usage, and > provide group kbuf based on sqe group. sqe group provides one efficient > way to share resource among one group of sqes, such as, it can be for > implementing multiple copying(copy data from single source to multiple > destinations) via single syscall. > > Finally implements provide group kbuf for uring command, and ublk use this > for supporting zero copy, and actually this feature can be used to support > generic device zero copy. > > The last liburing patch adds helpers for using sqe group, also adds > tests for sqe group. > > ublksrv userspace implements zero copy by sqe group & provide group > kbuf: > > https://github.com/ublk-org/ublksrv/commits/group-provide-buf/ > git clone https://github.com/ublk-org/ublksrv.git -b group-provide-buf > > make test T=loop/009:nbd/061:nbd/062 #ublk zc tests > > Any comments are welcome! Hello Jens and Guys, Any comments on this patchset? thanks, Ming