[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <176169819124.1431292.11049103365311149504.stgit@frogsfrogsfrogs>
Date: Tue, 28 Oct 2025 18:19:54 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: linux-fsdevel@...r.kernel.org, joannelkoong@...il.com, bernd@...ernd.com,
neal@...pa.dev, miklos@...redi.hu, linux-ext4@...r.kernel.org
Subject: [PATCH 5/7] fuse4fs: ask for loop devices when opening via
fuservicemount
From: Darrick J. Wong <djwong@...nel.org>
When requesting a file, ask the fuservicemount program to transform an
open regular file into a loop device for us, so that we can use iomap
even when the filesystem is actually an image file.
Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
---
fuse4fs/fuse4fs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fuse4fs/fuse4fs.c b/fuse4fs/fuse4fs.c
index fb8a897aa1706e..7edebf6776208a 100644
--- a/fuse4fs/fuse4fs.c
+++ b/fuse4fs/fuse4fs.c
@@ -1523,7 +1523,8 @@ static int fuse4fs_service_get_config(struct fuse4fs *ff)
do {
ret = fuse_service_request_file(ff->service, ff->device,
- open_flags, 0, 0);
+ open_flags, 0,
+ FUSE_SERVICE_REQUEST_FILE_TRYLOOP);
if (ret)
return ret;
Powered by blists - more mailing lists