|
|
Log in / Subscribe / Register

fuse io_uring: support registered buffers

From:  Joanne Koong <joannelkoong-AT-gmail.com>
To:  miklos-AT-szeredi.hu, axboe-AT-kernel.dk
Subject:  [PATCH v1 0/2] fuse io_uring: support registered buffers
Date:  Wed, 22 Oct 2025 13:20:19 -0700
Message-ID:  <20251022202021.3649586-1-joannelkoong@gmail.com>
Cc:  linux-fsdevel-AT-vger.kernel.org, bschubert-AT-ddn.com, asml.silence-AT-gmail.com, io-uring-AT-vger.kernel.org, xiaobing.li-AT-samsung.com
Archive-link:  Article

This adds support for daemons who preregister buffers to minimize the overhead
of pinning/unpinning user pages and translating virtual addresses. Registered
buffers pay the cost once during registration then reuse the pre-pinned pages,
which helps reduce the per-op overhead.

This is on top of commit 211ddde0823f in the iouring tree.

Joanne Koong (2):
  io-uring: add io_uring_cmd_get_buffer_info()
  fuse: support io-uring registered buffers

 fs/fuse/dev_uring.c          | 216 ++++++++++++++++++++++++++++++++---
 fs/fuse/dev_uring_i.h        |  17 ++-
 include/linux/io_uring/cmd.h |   2 +
 io_uring/rsrc.c              |  21 ++++
 4 files changed, 236 insertions(+), 20 deletions(-)

-- 
2.47.3




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds