public inbox for linux-unionfs@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/4] Intruduce stacking filesystem vfs helpers
@ 2023-12-21  9:54 Amir Goldstein
  2023-12-21  9:54 ` [RFC][PATCH 1/4] fs: prepare for stackable filesystems backing file helpers Amir Goldstein
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Amir Goldstein @ 2023-12-21  9:54 UTC (permalink / raw)
  To: Christian Brauner, Miklos Szeredi; +Cc: linux-fsdevel, linux-unionfs

Christian,

These patches essentially just lift some overlayfs code to common
file fs/backing_file.c.

They are based on vfs.rw and overlayfs-next branches.

The motivation is (per Miklos' request) to reuse common stacking code
for the FUSE passthrough patches that I am shaping up for upstream.

I have been testing those patches with my fuse-backing-fd development
branch [1] for quite some time and I think both you and Miklos gave
a conceptual ACK to some version of this work, but the patches were
never publicly posted.

I am aiming the FUSE passthough work for the 6.9 dev cycle and I was
contemplating whether I should queue these up for 6.8 merge window to
give them time to mature before 6.9 merge window.

If I do that, would you preffer to take these patches via the vfs tree
or will you be ok with me including them in the overlayfs PR for 6.8?

Miklos,

Are you ok with including this in overlayfs PR for 6.8?

Thanks,
Amir.

[1] https://github.com/amir73il/linux/commits/fuse-backing-fd

Amir Goldstein (4):
  fs: prepare for stackable filesystems backing file helpers
  fs: factor out backing_file_{read,write}_iter() helpers
  fs: factor out backing_file_splice_{read,write}() helpers
  fs: factor out backing_file_mmap() helper

 MAINTAINERS                  |   9 +
 fs/Kconfig                   |   4 +
 fs/Makefile                  |   1 +
 fs/backing-file.c            | 324 +++++++++++++++++++++++++++++++++++
 fs/open.c                    |  38 ----
 fs/overlayfs/Kconfig         |   1 +
 fs/overlayfs/file.c          | 245 ++++----------------------
 fs/overlayfs/overlayfs.h     |   8 +-
 fs/overlayfs/super.c         |  11 +-
 include/linux/backing-file.h |  42 +++++
 include/linux/fs.h           |   3 -
 11 files changed, 423 insertions(+), 263 deletions(-)
 create mode 100644 fs/backing-file.c
 create mode 100644 include/linux/backing-file.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-12-23 14:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-21  9:54 [RFC][PATCH 0/4] Intruduce stacking filesystem vfs helpers Amir Goldstein
2023-12-21  9:54 ` [RFC][PATCH 1/4] fs: prepare for stackable filesystems backing file helpers Amir Goldstein
2023-12-21  9:54 ` [RFC][PATCH 2/4] fs: factor out backing_file_{read,write}_iter() helpers Amir Goldstein
2023-12-21  9:54 ` [RFC][PATCH 3/4] fs: factor out backing_file_splice_{read,write}() helpers Amir Goldstein
2023-12-21  9:54 ` [RFC][PATCH 4/4] fs: factor out backing_file_mmap() helper Amir Goldstein
2023-12-22 12:54   ` Christian Brauner
2023-12-23  6:54     ` Amir Goldstein
2023-12-23  6:56       ` Amir Goldstein
2023-12-23 13:04         ` Christian Brauner
2023-12-23 14:28           ` Amir Goldstein
2023-12-22 12:44 ` [RFC][PATCH 0/4] Intruduce stacking filesystem vfs helpers Christian Brauner
2023-12-23  8:07   ` Amir Goldstein
2023-12-23 13:11     ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox