[GIT PULL] Fsnotify changes for 5.16-rc1

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

 



  Hello Linus,

  could you please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify_for_v5.16-rc1

to get support for reporting filesystem errors through fanotify so that
system health monitoring daemons can watch for these and act instead of
scraping system logs.

Top of the tree is 15c72660fe9a. The full shortlog is:

Amir Goldstein (3):
      fsnotify: pass data_type to fsnotify_name()
      fsnotify: pass dentry instead of inode data
      fsnotify: clarify contract for create event hooks

Gabriel Krisman Bertazi (29):
      fsnotify: Don't insert unmergeable events in hashtable
      fanotify: Fold event size calculation to its own function
      fanotify: Split fsid check from other fid mode checks
      inotify: Don't force FS_IN_IGNORED
      fsnotify: Add helper to detect overflow_event
      fsnotify: Add wrapper around fsnotify_add_event
      fsnotify: Retrieve super block from the data field
      fsnotify: Protect fsnotify_handle_inode_event from no-inode events
      fsnotify: Pass group argument to free_event
      fanotify: Support null inode event in fanotify_dfid_inode
      fanotify: Allow file handle encoding for unhashed events
      fanotify: Encode empty file handle when no inode is provided
      fanotify: Require fid_mode for any non-fd event
      fsnotify: Support FS_ERROR event type
      fanotify: Reserve UAPI bits for FAN_FS_ERROR
      fanotify: Pre-allocate pool of error events
      fanotify: Support enqueueing of error events
      fanotify: Support merging of error events
      fanotify: Wrap object_fh inline space in a creator macro
      fanotify: Add helpers to decide whether to report FID/DFID
      fanotify: WARN_ON against too large file handles
      fanotify: Report fid info for file related file system errors
      fanotify: Emit generic error info for error event
      fanotify: Allow users to request FAN_FS_ERROR events
      ext4: Send notifications on error
      samples: Add fs error monitoring example
      docs: Document the FAN_FS_ERROR event
      samples: Make fs-monitor depend on libc and headers
      docs: Fix formatting of literal sections in fanotify docs

Jan Kara (1):
      samples: Fix warning in fsnotify sample

Zhang Mingyu (1):
      samples: remove duplicate include in fs-monitor.c

The diffstat is

 .../admin-guide/filesystem-monitoring.rst          |  78 ++++++++++
 Documentation/admin-guide/index.rst                |   1 +
 fs/ext4/super.c                                    |   8 ++
 fs/nfsd/filecache.c                                |   3 +
 fs/notify/fanotify/fanotify.c                      | 117 +++++++++++++--
 fs/notify/fanotify/fanotify.h                      |  54 ++++++-
 fs/notify/fanotify/fanotify_user.c                 | 157 ++++++++++++++++-----
 fs/notify/fsnotify.c                               |  10 +-
 fs/notify/group.c                                  |   2 +-
 fs/notify/inotify/inotify_fsnotify.c               |   5 +-
 fs/notify/inotify/inotify_user.c                   |   6 +-
 fs/notify/notification.c                           |  14 +-
 include/linux/fanotify.h                           |   9 +-
 include/linux/fsnotify.h                           |  58 +++++---
 include/linux/fsnotify_backend.h                   |  96 +++++++++++--
 include/uapi/linux/fanotify.h                      |   8 ++
 kernel/audit_fsnotify.c                            |   3 +-
 kernel/audit_watch.c                               |   3 +-
 samples/Kconfig                                    |   9 ++
 samples/Makefile                                   |   1 +
 samples/fanotify/Makefile                          |   5 +
 samples/fanotify/fs-monitor.c                      | 142 +++++++++++++++++++
 22 files changed, 690 insertions(+), 99 deletions(-)
 create mode 100644 Documentation/admin-guide/filesystem-monitoring.rst
 create mode 100644 samples/fanotify/Makefile
 create mode 100644 samples/fanotify/fs-monitor.c

							Thanks
								Honza

-- 
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux