linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Handle notifications on overlayfs fake path files
@ 2023-06-11 19:47 Amir Goldstein
  2023-06-11 19:47 ` [PATCH v3 1/2] fs: use fake_file container for internal files with fake f_path Amir Goldstein
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Amir Goldstein @ 2023-06-11 19:47 UTC (permalink / raw)
  To: Miklos Szeredi
  Cc: Christian Brauner, Al Viro, Jan Kara, linux-fsdevel,
	linux-unionfs

Miklos,

Third attempt with the eye towards simplifying d_real() interface.

Like v2, most of the vfs code should remain unaffected by this
expect for the special fsnotify case that we wanted to fix.

Thanks,
Amir.

Changes since v2:
- Restore the file_fake container (Miklos)
- Re-arrange the v1 helpers (Christian)

Changes since v1:
- Drop the file_fake container
- Leave f_path fake and special case only fsnotify

Amir Goldstein (2):
  fs: use fake_file container for internal files with fake f_path
  ovl: enable fsnotify events on underlying real files

 fs/cachefiles/namei.c    |  2 +-
 fs/file_table.c          | 91 +++++++++++++++++++++++++++++++++-------
 fs/internal.h            |  5 ++-
 fs/namei.c               | 16 +++----
 fs/open.c                | 28 ++++++++-----
 fs/overlayfs/file.c      |  6 +--
 include/linux/fs.h       | 15 ++++---
 include/linux/fsnotify.h |  3 +-
 8 files changed, 121 insertions(+), 45 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-06-12 15:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-11 19:47 [PATCH v3 0/2] Handle notifications on overlayfs fake path files Amir Goldstein
2023-06-11 19:47 ` [PATCH v3 1/2] fs: use fake_file container for internal files with fake f_path Amir Goldstein
2023-06-12  4:45   ` Christoph Hellwig
2023-06-12  6:37     ` Amir Goldstein
2023-06-12  8:01       ` Christian Brauner
2023-06-12  8:07     ` Christian Brauner
2023-06-12  8:28       ` Amir Goldstein
2023-06-12  8:31         ` Christian Brauner
2023-06-11 19:47 ` [PATCH v3 2/2] ovl: enable fsnotify events on underlying real files Amir Goldstein
2023-06-12 15:18 ` [PATCH v3 0/2] Handle notifications on overlayfs fake path files Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).