From: Bernd Schubert <bernd@bsbernd.com>
To: Kuang Kai <kuangkai@kylinos.cn>, miklos@szeredi.hu
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
kk47yx@gmail.com
Subject: Re: [PATCH] fuse: show the io_uring mount option
Date: Thu, 25 Dec 2025 22:34:46 +0100 [thread overview]
Message-ID: <9f54caaa-1936-4a37-8046-0335e469935d@bsbernd.com> (raw)
In-Reply-To: <20251225055021.42491-1-kuangkai@kylinos.cn>
On 12/25/25 06:50, Kuang Kai wrote:
> From: kuangkai <kuangkai@kylinos.cn>
>
> mount with io_uring options will not work if the kernel parameter of /sys/module/fuse/parameters/enable_uring has not been set,
> displaying this option can help confirm whether the fuse over io_uring function is enabled.
The problem is that is io_uring is not a mount option, showing it as
such would not be right. Maybe showing all FUSE_INIT parameters should
be added in /sys?
Thanks,
Bernd
>
> Signed-off-by: kuangkai <kuangkai@kylinos.cn>
> ---
> fs/fuse/inode.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
> index 21e04c394a80..190de3f29552 100644
> --- a/fs/fuse/inode.c
> +++ b/fs/fuse/inode.c
> @@ -937,6 +937,11 @@ static int fuse_show_options(struct seq_file *m, struct dentry *root)
> seq_puts(m, ",dax=inode");
> #endif
>
> +#ifdef CONFIG_FUSE_IO_URING
> + if (fc->io_uring)
> + seq_puts(m, ",io_uring");
> +#endif
> +
> return 0;
> }
>
next prev parent reply other threads:[~2025-12-25 21:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-25 5:50 Kuang Kai
2025-12-25 21:34 ` Bernd Schubert [this message]
2025-12-29 21:31 ` Joanne Koong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9f54caaa-1936-4a37-8046-0335e469935d@bsbernd.com \
--to=bernd@bsbernd.com \
--cc=kk47yx@gmail.com \
--cc=kuangkai@kylinos.cn \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®