[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250804173228.1990317-1-paullawrence@google.com>
Date: Mon, 4 Aug 2025 10:32:26 -0700
From: Paul Lawrence <paullawrence@...gle.com>
To: amir73il@...il.com
Cc: bernd.schubert@...tmail.fm, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, miklos@...redi.hu, paullawrence@...gle.com
Subject: [PATCH 0/2] RFC: Set backing file at lookup
Based on our discussion, I put together two simple patches.
The first adds an optional extra parameter to FUSE_LOOKUP outargs. This allows
the daemon to set a backing file at lookup time on a successful lookup.
I then looked at which opcodes do not require a file handle. The simplest seem
to be FUSE_MKDIR and FUSE_RMDIR. So I implemented passthrough handling for these
opcodes in the second patch.
Both patches sit on top of Amir's tree at:
https://github.com/amir73il/linux/commit/ceaf7f16452f6aaf7993279b1c10e727d6bf6a32
Thoughts?
Paul
Paul Lawrence (2):
fuse: Allow backing file to be set at lookup (WIP)
fuse: Add passthrough for mkdir and rmdir (WIP)
fs/fuse/dir.c | 31 +++++++++++++---
fs/fuse/fuse_i.h | 14 ++++++-
fs/fuse/iomode.c | 41 ++++++++++++++++++--
fs/fuse/passthrough.c | 78 ++++++++++++++++++++++++++++++++++-----
include/uapi/linux/fuse.h | 6 +++
5 files changed, 150 insertions(+), 20 deletions(-)
--
2.50.1.565.gc32cd1483b-goog
Powered by blists - more mailing lists