fsnotify changes for v4.20-rc1
Jan Kara
reviewerHello Linus,
could you please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_v4.20-rc1
to get Amir's patches to implement superblock fanotify watches, Xiaoming's patch to enable reporting of thread IDs in fanotify events instead of TGIDs (sadly the patch got mis-attributed to Amir and I've noticed only now), and a fix of possible oops on umount caused by fsnotify infrastructure.
Top of the tree is ee4af50ca94f. The full shortlog is:
Amir Goldstein (12):
fsnotify: add super block object type
fsnotify: send path type events to group with super block marks
fanotify: add API to attach/detach super block mark
fanotify: store fanotify_init() flags in group's fanotify_data
fanotify: fix collision of internal and uapi mark flags
fsnotify: generalize handling of extra event flags
fanotify: simplify handling of FAN_ONDIR
fanotify: deprecate uapi FAN_ALL_* constants
fsnotify: convert runtime BUG_ON() to BUILD_BUG_ON()
fanotify: add BUILD_BUG_ON() to count the bits of fanotify constants
fanotify: support reporting thread id instead of process id
fs: group frequently accessed fields of struct super_block together
Jan Kara (1):
fsnotify: Fix busy inodes during unmount
The diffstat is
fs/notify/fanotify/fanotify.c | 17 +++--- fs/notify/fanotify/fanotify.h | 4 +- fs/notify/fanotify/fanotify_user.c | 103 +++++++++++++++++++++---------------- fs/notify/fdinfo.c | 29 +++-------- fs/notify/fsnotify.c | 42 +++++++++------ fs/notify/fsnotify.h | 11 ++++ fs/notify/inotify/inotify_user.c | 2 +- fs/notify/mark.c | 43 +++++++++++++--- fs/super.c | 2 +- include/linux/fanotify.h | 59 ++++++++++++++++++++- include/linux/fs.h | 22 ++++++-- include/linux/fsnotify_backend.h | 30 ++++++++--- include/uapi/linux/fanotify.h | 25 ++++++--- 13 files changed, 267 insertions(+), 122 deletions(-)
Thanks
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 5 lines · Jan Kara
Amir's patches to implement superblock fanotify watches, Xiaoming's
patch to enable reporting of thread IDs in fanotify events instead of TGIDs (sadly the patch got mis-attributed to Amir and I've noticed only now), and a fix of possible oops on umount caused by fsnotify infrastructure.
Pulled,
Linus