• Linus Torvalds's avatar
    Merge tag 'fsnotify_for_v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · eb65405e
    Linus Torvalds authored
    Pull fsnotify updates from Jan Kara:
    
     - fanotify fix for softlockups when there are many queued events
    
     - performance improvement to reduce fsnotify overhead when not used
    
     - Amir's implementation of fanotify events with names. With these you
       can now efficiently monitor whole filesystem, eg to mirror changes to
       another machine.
    
    * tag 'fsnotify_for_v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: (37 commits)
      fanotify: compare fsid when merging name event
      fsnotify: create method handle_inode_event() in fsnotify_operations
      fanotify: report parent fid + child fid
      fanotify: report parent fid + name + child fid
      fanotify: add support for FAN_REPORT_NAME
      fanotify: report events with parent dir fid to sb/mount/non-dir marks
      fanotify: add basic support for FAN_REPORT_DIR_FID
      fsnotify: remove check that source dentry is positive
      fsnotify: send event with parent/name info to sb/mount/non-dir marks
      audit: do not set FS_EVENT_ON_CHILD in audit marks mask
      inotify: do not set FS_EVENT_ON_CHILD in non-dir mark mask
      fsnotify: pass dir and inode arguments to fsnotify()
      fsnotify: create helper fsnotify_inode()
      fsnotify: send event to parent and child with single callback
      inotify: report both events on parent and child with single callback
      dnotify: report both events on parent and child with single callback
      fanotify: no external fh buffer in fanotify_name_event
      fanotify: use struct fanotify_info to parcel the variable size buffer
      fsnotify: add object type "child" to object type iterator
      fanotify: use FAN_EVENT_ON_CHILD as implicit flag on sb/mount/non-dir marks
      ...
    eb65405e