[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20251225055021.42491-1-kuangkai@kylinos.cn>
Date: Thu, 25 Dec 2025 13:50:21 +0800
From: Kuang Kai <kuangkai@...inos.cn>
To: miklos@...redi.hu
Cc: linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
kuangkai@...inos.cn,
kk47yx@...il.com
Subject: [PATCH] fuse: show the io_uring mount option
From: kuangkai <kuangkai@...inos.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.
Signed-off-by: kuangkai <kuangkai@...inos.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;
}
--
2.39.2 (Apple Git-143)
Powered by blists - more mailing lists