Prep work for fanotify events with name info
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest20 patches 6 repliesIn review
- v120 patches 14 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | fsnotify: Rearrange fast path to minimise overhead when there is no watcherfs/ include/ include/ | +27 | 0 replies | |
| 2/20 | fsnotify: fold fsnotify() call into fsnotify_parent()fs/ include/ | +31 | 0 replies | |
| 3/20 | fsnotify: return non const from fsnotify_data_inode()fs/ include/ | +3 | 0 replies | |
| 4/20 | nfsd: use fsnotify_data_inode() to get the unlinked inodefs/ | +3 | 0 replies | |
| 5/20 | kernfs: do not call fsnotify() with name without a parentfs/ | +1 | 0 replies | |
| 6/20 | inotify: do not use objectid when comparing eventsfs/ | +2 | 0 replies | |
| 7/20 | fanotify: create overflow event typefs/ fs/ fs/ | +36 | 0 replies | |
| 8/20 | fanotify: break up fanotify_alloc_event()fs/ | +85 | 1 reply | |
| 9/20 | fsnotify: pass dir argument to handle_event() callbackfs/ fs/ fs/ +8 more | +64 | 0 replies | |
| 10/20 | fanotify: generalize the handling of extra event flagsfs/ | +10 | 0 replies | |
| 11/20 | fanotify: generalize merge logic of events on dirfs/ | +11 | 0 replies | |
| 12/20 | fanotify: distinguish between fid encode error and null fidfs/ | +4 | 0 replies | |
| 13/20 | fanotify: generalize test for FAN_REPORT_FIDfs/ fs/ include/ | +16 | 0 replies | |
| 14/20 | fanotify: mask out special event flags from ignored maskfs/ | +5 | 0 replies | |
| 15/20 | fanotify: prepare for implicit event flags in mark maskfs/ | +24 | 0 replies | |
| 16/20 | fanotify: use FAN_EVENT_ON_CHILD as implicit flag on sb/mount/non-dir marksfs/ | +10 | 0 replies | |
| 17/20 | fanotify: remove event FAN_DIR_MODIFYfs/ fs/ include/ +2 more | +4 | 0 replies | |
| 18/20 | fsnotify: add object type "child" to object type iteratorinclude/ | +3 | 0 replies | |
| 19/20 | fanotify: use struct fanotify_info to parcel the variable size bufferfs/ fs/ fs/ | +139 | 0 replies | |
| 20/20 | fanotify: no external fh buffer in fanotify_name_eventfs/ fs/ | +57 | 5 replies |
Reviews trailers per patch
1 of 20 patches has a Reviewed-by or Acked-by.
| Patch | Tejun Heo | Greg Kroah-Hartman |
|---|---|---|
| 1/20 | ||
| 2/20 | ||
| 3/20 | ||
| 4/20 | ||
| 5/20 | A-b | A-b |
| 6/20 | ||
| 7/20 | ||
| 8/20 | ||
| 9/20 | ||
| 10/20 | ||
| 11/20 | ||
| 12/20 | ||
| 13/20 | ||
| 14/20 | ||
| 15/20 | ||
| 16/20 | ||
| 17/20 | ||
| 18/20 | ||
| 19/20 | ||
| 20/20 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/20] Prep work for fanotify events with name info
Hi Jan,
Following patches address your review comments on v2 [1]. Branch is avalable at [2] and test branch of complete work of the moment is available at [3].
Thanks,
Amir.
Changes sinve v2:
- Re-parcel variable size buffer using struct fanotify_info
- Move space reservation of _inline_fh_buf to struct fanotify_fid_event
- Add Acks on kernfs patch
[1] https://lore.kernel.org/linux-fsdevel/[email protected]/
[2] https://github.com/amir73il/linux/commits/fanotify_prep-v3
[3] https://github.com/amir73il/linux/commits/fanotify_name_fid
Amir Goldstein (19):
fsnotify: fold fsnotify() call into fsnotify_parent()
fsnotify: return non const from fsnotify_data_inode()
nfsd: use fsnotify_data_inode() to get the unlinked inode
kernfs: do not call fsnotify() with name without a parent
inotify: do not use objectid when comparing events
fanotify: create overflow event type
fanotify: break up fanotify_alloc_event()
fsnotify: pass dir argument to handle_event() callback
fanotify: generalize the handling of extra event flags
fanotify: generalize merge logic of events on dir
fanotify: distinguish between fid encode error and null fid
fanotify: generalize test for FAN_REPORT_FID
fanotify: mask out special event flags from ignored mask
fanotify: prepare for implicit event flags in mark mask
fanotify: use FAN_EVENT_ON_CHILD as implicit flag on sb/mount/non-dir
marks
fanotify: remove event FAN_DIR_MODIFY
fsnotify: add object type "child" to object type iterator
fanotify: use struct fanotify_info to parcel the variable size buffer
fanotify: no external fh buffer in fanotify_name_event
Mel Gorman (1):
fsnotify: Rearrange fast path to minimise overhead when there is no
watcher
fs/kernfs/file.c | 2 +- fs/nfsd/filecache.c | 8 +- fs/notify/dnotify/dnotify.c | 8 +- fs/notify/fanotify/fanotify.c | 354 ++++++++++++++++----------- fs/notify/fanotify/fanotify.h | 110 +++++++-- fs/notify/fanotify/fanotify_user.c | 110 +++++---- fs/notify/fsnotify.c | 82 ++++--- fs/notify/inotify/inotify.h | 6 +- fs/notify/inotify/inotify_fsnotify.c | 11 +- fs/notify/inotify/inotify_user.c | 4 +- include/linux/fanotify.h | 6 +- include/linux/fsnotify.h | 43 ++-- include/linux/fsnotify_backend.h | 34 ++- include/uapi/linux/fanotify.h | 1 - kernel/audit_fsnotify.c | 10 +- kernel/audit_tree.c | 6 +- kernel/audit_watch.c | 6 +- 17 files changed, 500 insertions(+), 301 deletions(-)
Signature · 1 line
2.17.1