-
- Downloads
Merge tag 'fsnotify_for_v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull fsnotify updates from Jan Kara: "Support for reporting filesystem errors through fanotify so that system health monitoring daemons can watch for these and act instead of scraping system logs" * tag 'fsnotify_for_v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: (34 commits) samples: remove duplicate include in fs-monitor.c samples: Fix warning in fsnotify sample docs: Fix formatting of literal sections in fanotify docs samples: Make fs-monitor depend on libc and headers docs: Document the FAN_FS_ERROR event samples: Add fs error monitoring example ext4: Send notifications on error fanotify: Allow users to request FAN_FS_ERROR events fanotify: Emit generic error info for error event fanotify: Report fid info for file related file system errors fanotify: WARN_ON against too large file handles fanotify: Add helpers to decide whether to report FID/DFID fanotify: Wrap object_fh inline space in a creator macro fanotify: Support merging of error events fanotify: Support enqueueing of error events fanotify: Pre-allocate pool of error events fanotify: Reserve UAPI bits for FAN_FS_ERROR fsnotify: Support FS_ERROR event type fanotify: Require fid_mode for any non-fd event fanotify: Encode empty file handle when no inode is provided ...
Showing
- Documentation/admin-guide/filesystem-monitoring.rst 78 additions, 0 deletionsDocumentation/admin-guide/filesystem-monitoring.rst
- Documentation/admin-guide/index.rst 1 addition, 0 deletionsDocumentation/admin-guide/index.rst
- fs/ext4/super.c 8 additions, 0 deletionsfs/ext4/super.c
- fs/nfsd/filecache.c 3 additions, 0 deletionsfs/nfsd/filecache.c
- fs/notify/fanotify/fanotify.c 107 additions, 10 deletionsfs/notify/fanotify/fanotify.c
- fs/notify/fanotify/fanotify.h 50 additions, 4 deletionsfs/notify/fanotify/fanotify.h
- fs/notify/fanotify/fanotify_user.c 119 additions, 38 deletionsfs/notify/fanotify/fanotify_user.c
- fs/notify/fsnotify.c 6 additions, 4 deletionsfs/notify/fsnotify.c
- fs/notify/group.c 1 addition, 1 deletionfs/notify/group.c
- fs/notify/inotify/inotify_fsnotify.c 3 additions, 2 deletionsfs/notify/inotify/inotify_fsnotify.c
- fs/notify/inotify/inotify_user.c 3 additions, 3 deletionsfs/notify/inotify/inotify_user.c
- fs/notify/notification.c 7 additions, 7 deletionsfs/notify/notification.c
- include/linux/fanotify.h 8 additions, 1 deletioninclude/linux/fanotify.h
- include/linux/fsnotify.h 42 additions, 16 deletionsinclude/linux/fsnotify.h
- include/linux/fsnotify_backend.h 87 additions, 9 deletionsinclude/linux/fsnotify_backend.h
- include/uapi/linux/fanotify.h 8 additions, 0 deletionsinclude/uapi/linux/fanotify.h
- kernel/audit_fsnotify.c 1 addition, 2 deletionskernel/audit_fsnotify.c
- kernel/audit_watch.c 1 addition, 2 deletionskernel/audit_watch.c
- samples/Kconfig 9 additions, 0 deletionssamples/Kconfig
- samples/Makefile 1 addition, 0 deletionssamples/Makefile
Loading
Please register or sign in to comment