From b773020464641d3e9cec5ad5fa35e7153e54e118 Mon Sep 17 00:00:00 2001 From: izxl007 Date: Tue, 3 Jun 2025 22:04:52 +0800 Subject: Update how to use the io_uring and io_uring_q_depth mount options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch updates how to use the io_uring and io_uring_q_depth mount options. There are two reasons for this: 1. It is recommended for end-users to use a format like “-o io_uring" (with a space) in README.fuse-io-uring. This is because, in the passthrough_hp example, cxxopts does not support the "-oio_uring" format (without a space), and using it would result in a syntax error. 2. Remove redundant "--uring" and "--uring-q-depth=" from passthrough_hp example. Signed-off-by: izxl007 --- doc/README.fuse-io-uring | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/README.fuse-io-uring') diff --git a/doc/README.fuse-io-uring b/doc/README.fuse-io-uring index 7207c6e..5134890 100644 --- a/doc/README.fuse-io-uring +++ b/doc/README.fuse-io-uring @@ -6,7 +6,7 @@ echo 1 > /sys/module/fuse/parameters/enable_uring Additionally, FUSE_CAP_OVER_IO_URING needs to be set and se->uring.enable has to be true. The latter can be -achieved with the libfuse option '-oio_uring'. +achieved with the libfuse option '-o io_uring'. Default queue-depth is 8 and can be changed with the parameter '-oio_uring_q_depth'. @@ -22,11 +22,11 @@ Benefits: Usage: To enable io_uring support when mounting a FUSE filesystem: 1. Enable kernel support: echo 1 > /sys/module/fuse/parameters/enable_uring -2. Mount with io_uring option: -oio_uring -3. Optionally adjust queue depth: -oio_uring_q_depth= +2. Mount with io_uring option: -o io_uring +3. Optionally adjust queue depth: -o io_uring_q_depth= Example: -./my_fuse_fs /source /mountpoint -oio_uring -oio_uring_q_depth=16 +./my_fuse_fs /source /mountpoint -o io_uring -o io_uring_q_depth=16 Requirements: - Linux kernel with io_uring and FUSE io_uring support enabled -- cgit v1.2.3