aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2025-04-15 20:57:05 +0200
committerBernd Schubert <bernd@bsbernd.com>2025-04-28 19:57:39 +0200
commite70f91cb6387a4e14e7a4a4ebe9dc1100cbc1126 (patch)
tree35521283a7c00dfebe22930a87081d5b8196135a
parent3421cab7773268e0afb4b300775b4d60f2b7acf5 (diff)
downloadlibfuse-e70f91cb6387a4e14e7a4a4ebe9dc1100cbc1126.tar.gz
Set FUSE_CAP_OVER_IO_URING flag - allow io-uring mode
So far it was disabled as the series was not complete yet. Signed-off-by: Bernd Schubert <bschubert@ddn.com>
-rw-r--r--lib/fuse_lowlevel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 8c9cb90..8c5d060 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -2546,6 +2546,9 @@ _do_init(fuse_req_t req, const fuse_ino_t nodeid, const void *op_in,
se->conn.capable_ext |= FUSE_CAP_PASSTHROUGH;
if (inargflags & FUSE_NO_EXPORT_SUPPORT)
se->conn.capable_ext |= FUSE_CAP_NO_EXPORT_SUPPORT;
+ if (inargflags & FUSE_OVER_IO_URING)
+ se->conn.capable_ext |= FUSE_CAP_OVER_IO_URING;
+
} else {
se->conn.max_readahead = 0;
}