From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E70C24E1C7E for ; Mon, 12 Oct 2026 20:21:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791836510; cv=none; b=fliN/t1tZ+rlIPBh+ZM5YXbNIkAvCC/y+POsLaCf7HusQG3BXbeYpjIdf3jYeTmsYuNXdJ49tspv85Su5+sZrwlN60frvFaq6A2BGySFwSFS3tzW9a4PCmXomUcPGuhmUP1LMrc4Cofd079vsC1egJkLbAPPGrSQMF+tcZ0XeQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791836510; c=relaxed/simple; bh=lli5ii/H/rCG9APVq9ZvpYJJiJuxiuQfHiO8zLh8fqI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JDScyJStJ7Sp5Bx6ECWsk7xXH6SCUEdufh3Jza8Kdb7Cld0Gbt8hQwAmIfdNOFDzqBb6HT4Tk9BsgjZGOxVs8sR36e+FZ+MwXQoRZE1pEg33lfexgCb9uaQLR9RtiZjMa0J6wKoJ35qGHfGbTYUHvPMm0LcQuIdwcSQGPNI70CU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20251104.gappssmtp.com header.i=@kernel-dk.20251104.gappssmtp.com header.b=dpNRzD9o; arc=none smtp.client-ip=209.85.210.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20251104.gappssmtp.com header.i=@kernel-dk.20251104.gappssmtp.com header.b="dpNRzD9o" Received: by mail-ot1-f54.google.com with SMTP id 46e09a7af769-823e4047037so1893504a34.2 for ; Mon, 12 Oct 2026 13:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20251104.gappssmtp.com; s=20251104; t=1791836508; x=1792441308; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Z6hOwSLR8cfh8cDplIOaHfJc8wiTVy6P5jX2Jl3fTgI=; b=dpNRzD9oqiD2g38Y4s6mxqWYJVtG69bGHyzuYTGsW8oM1V8yoKlk97Ad3j5/x+wWPv AX7rzWW9cpneIBMISFHU3tnG2C45XuYPCn4yA2MNVoxg7KuhpCdR+8Xo4wfNB6oRfTmJ xdO4sajTy/mgAciKkmBOOF6+xdjPrA/pAFajI5mNvAqocwC5gvDvofV5iSzoedgERboN huuX6PAdWKAnjgItwe1MO2T9YIBKFkS8Ifk2y2hNyv3hGtFqKbfawUxs3LnzgaQN93fV 1K5jW1IPgvQShzMmN2YoH20ZYM3Nqv+fPONh+tkzeOPzwBlkqcZVxddIf0N1RBBRiIrs Eu2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791836508; x=1792441308; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Z6hOwSLR8cfh8cDplIOaHfJc8wiTVy6P5jX2Jl3fTgI=; b=1NSXfEAJRDWJe4jGg0HI8Xi6BHe3p6ueDGU/cp5ivBx6DYIusDSyq2oirkQ9H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rMp8TNm7ugMKRE9HdffemUDVuVqwJT5DRW54+tXAqeVIvB5lU09rT0x0w== X-Received: by 2002:a05:6808:f88:b0:4d7:17d5:6c9b with SMTP id 5614622812f47-50c40a3e034mr9500602b6e.9.1791836506735; Mon, 12 Oct 2026 13:21:46 -0700 (PDT) Received: from [192.168.1.106] ([198.8.77.135]) by smtp.gmail.com with ESMTPSA id 5614622812f47-50c167544b5sm12396143b6e.3.2026.10.12.13.21.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Oct 2026 13:21:45 -0700 (PDT) Message-ID: Date: Mon, 12 Oct 2026 14:21:41 -0600 Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 00/13] Add dmabuf read/write via io_uring To: Pavel Begunkov , linux-block@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org, Christoph Hellwig , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , Keith Busch , Sagi Grimberg , Alexander Viro , Christian Brauner , Jan Kara , Andrew Morton , Nitesh Shetty , Kanchan Joshi , Anuj Gupta , Tushar Gohad , William Power , Matthew Brost , Alasdair Kergon , Mike Snitzer , Mikulas Patocka , Benjamin Marzinski , dm-devel@lists.linux.dev References: Content-Language: en-US From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/6/26 7:42 PM, Pavel Begunkov wrote: > The patch set allows to register a dmabuf to an io_uring instance for > a specified file and use it with io_uring read / write requests. The > infrastructure is not tied to io_uring and there could be more users > in the future. A similar idea was attempted some years ago by Keith [1], > from where I borrowed a number of changes. Later it was brough back up > to life by Tushar and Vishal. > > It's an opt-in feature for files, and they need to implement a new > file operation to use it. Only NVMe block devices are supported in this > series. The user API is built on top of io_uring's "registered buffers", > where a dmabuf is registered in a special way, but after it can be used > as any other "registered buffer" with IORING_OP_{READ,WRITE}_FIXED > requests. It's created via a new file operation and the resulted map is > then passed through the I/O stack in a new iterator type. There is some > additional infrastructure to glue it together, count requests, manage > lifetime and implement invalidation. I've queued this series up for some testing, in a separate branch. JFYI. -- Jens Axboe