linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Handle notifications on overlayfs fake path files
@ 2023-06-11 13:27 Amir Goldstein
  2023-06-11 13:27 ` [PATCH v2 1/3] fs: rename FMODE_NOACCOUNT to FMODE_INTERNAL Amir Goldstein
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Amir Goldstein @ 2023-06-11 13:27 UTC (permalink / raw)
  To: Miklos Szeredi
  Cc: Christian Brauner, Al Viro, Jan Kara, linux-fsdevel,
	linux-unionfs

Miklos,

The first solution that we discussed for removing FMODE_NONOTIFY
from overlayfs real files using file_fake container got complicated.

This alternative solution is less intrusive to vfs and all the vfs
code should remian unaffected expect for the special fsnotify case
that we want to fix.

Thanks,
Amir.

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

[1] https://github.com/amir73il/linux/commits/ovl_real_path

Amir Goldstein (3):
  fs: rename FMODE_NOACCOUNT to FMODE_INTERNAL
  fs: introduce f_real_path() helper
  ovl: enable fsnotify events on underlying real files

 Documentation/filesystems/locking.rst |  3 ++-
 Documentation/filesystems/vfs.rst     |  3 ++-
 fs/file_table.c                       | 29 ++++++++++++++++++++++++---
 fs/internal.h                         |  5 +++--
 fs/namei.c                            |  2 +-
 fs/open.c                             |  2 +-
 fs/overlayfs/file.c                   |  4 ++--
 fs/overlayfs/super.c                  | 27 ++++++++++++++++---------
 include/linux/dcache.h                | 11 ++++++----
 include/linux/fs.h                    |  8 +++++---
 include/linux/fsnotify.h              |  6 ++++--
 11 files changed, 71 insertions(+), 29 deletions(-)

-- 
2.34.1


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

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

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-11 13:27 [PATCH v2 0/3] Handle notifications on overlayfs fake path files Amir Goldstein
2023-06-11 13:27 ` [PATCH v2 1/3] fs: rename FMODE_NOACCOUNT to FMODE_INTERNAL Amir Goldstein
2023-06-12  4:27   ` Christoph Hellwig
2023-06-12  6:08     ` Amir Goldstein
2023-06-12  6:11       ` Christoph Hellwig
2023-06-12  6:15         ` Christoph Hellwig
2023-06-12  6:32         ` Amir Goldstein
2023-06-12  6:35           ` Christoph Hellwig
2023-06-11 13:27 ` [PATCH v2 2/3] fs: introduce f_real_path() helper Amir Goldstein
2023-06-12  4:36   ` Christoph Hellwig
2023-06-12  6:28     ` Amir Goldstein
2023-06-12  6:36       ` Christoph Hellwig
2023-06-12  8:13         ` Amir Goldstein
2023-06-11 13:27 ` [PATCH v2 3/3] ovl: enable fsnotify events on underlying real files Amir Goldstein
2023-06-11 14:23 ` [PATCH v2 0/3] Handle notifications on overlayfs fake path files Miklos Szeredi
2023-06-11 16:55   ` Amir Goldstein
2023-06-11 17:52     ` Amir Goldstein
2023-06-11 19:12       ` Miklos Szeredi
2023-06-11 19:25         ` Amir Goldstein
2023-06-11 19:37           ` Miklos Szeredi

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).