[PATCH v2 0/3] Handle notifications on overlayfs fake path files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux