Skip to content

More fsnotify hook optimizations

Amir Goldstein linux-fsdevel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Raname macro to FMODE_NOTIFY_ACCESS_PERM()
- Remove unneeded and unused event set macros

[1] https://lore.kernel.org/linux-fsdevel/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fsnotify: merge file_set_fsnotify_mode_from_watchers() with open perm hookfs/file_table.c fs/notify/fsnotify.c fs/open.c +1 more+20 -180 replies
2/2fsnotify: optimize FMODE_NONOTIFY_PERM for the common casesfs/notify/fsnotify.c include/linux/fs.h include/linux/fsnotify.h+53 -610 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] More fsnotify hook optimizations

Jan,

Following v2 addresses your review comments on v1 [1].

Changes since v1:
- Raname macro to FMODE_NOTIFY_ACCESS_PERM()
- Remove unneeded and unused event set macros

[1] https://lore.kernel.org/linux-fsdevel/[email protected]/

Amir Goldstein (2):
fsnotify: merge file_set_fsnotify_mode_from_watchers() with open perm
hook
fsnotify: optimize FMODE_NONOTIFY_PERM for the common cases

 fs/file_table.c          |  2 +-
 fs/notify/fsnotify.c     | 87 ++++++++++++++++++++++++----------------
 fs/open.c                |  6 +--
 include/linux/fs.h       | 12 +++---
 include/linux/fsnotify.h | 35 +++-------------
 5 files changed, 68 insertions(+), 74 deletions(-)
Signature · 1 line
2.43.0