Skip to content

fsnotify: Do not share events between notification groups

Jan Kara linux-fsdevel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v23 patches 6 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4inotify: Provide function for name length roundingfs/notify/inotify/inotify_user.c+21 -200 replies
2/4fsnotify: Do not share events between notification groupsfs/notify/dnotify/dnotify.c fs/notify/fanotify/fanotify.c fs/notify/fanotify/fanotify.h +10 more+314 -7070 replies
3/4fsnotify: Remove .should_send_event callbackfs/notify/dnotify/dnotify.c fs/notify/fanotify/fanotify.c fs/notify/fsnotify.c +4 more+22 -720 replies
4/4fsnotify: Remove pointless NULL initializersfs/notify/dnotify/dnotify.c fs/notify/fanotify/fanotify.c kernel/audit_tree.c +1 more+0 -91 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/4 v3] fsnotify: Do not share events between notification groups

Hello,

this is the third version of my patchset to change fsnotify framework
so that events are not shared between different notification groups - it significantly simplifies the code, saves some memory in common cases, and fixes a problem with outstanding inotify events unnecessarily preventing umount (see patch 2/4 for more details).

Since v2, I have added Reviewed-by tags and cleaned up some smaller things Christoph pointed out.

Since v1, I have fixed a couple of bugs found during testing (I have added a decent coverage of fanotify syscalls into LTP) and separated at least two logically unrelated changes into separate patches. Still the main patch is rather huge but I don't know how to make it any smaller given we change how the core data structure works...

Honza