Fsnotify changes for v5.15-rc1
Jan Kara
reviewerHello Linus,
my vacation collides with the merge window which I expect to open next
week so I'm sending pull requests for the merge window early. Could you please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify_for_v5.15-rc1
to get fsnotify speedups when notification actually isn't used and support for identifying processes which caused fanotify events through pidfd instead of normal pid.
Top of the tree is e43de7f0862b. The full shortlog is:
Amir Goldstein (4):
fsnotify: replace igrab() with ihold() on attach connector
fsnotify: count s_fsnotify_inode_refs for attached connectors
fsnotify: count all objects with attached connectors
fsnotify: optimize the case of no marks of any type
Matthew Bobrowski (5):
kernel/pid.c: remove static qualifier from pidfd_create() kernel/pid.c: implement additional checks upon pidfd_create() parameters
fanotify: minor cosmetic adjustments to fid labels
fanotify: introduce a generic info record copying helper
fanotify: add pidfd support to the fanotify API
The diffstat is
fs/notify/fanotify/fanotify_user.c | 251 ++++++++++++++++++++++++++----------- fs/notify/fsnotify.c | 6 +- fs/notify/fsnotify.h | 15 +++ fs/notify/mark.c | 52 ++++++-- include/linux/fanotify.h | 3 + include/linux/fs.h | 7 +- include/linux/fsnotify.h | 9 ++ include/linux/pid.h | 1 + include/uapi/linux/fanotify.h | 13 ++ kernel/pid.c | 15 ++- 10 files changed, 276 insertions(+), 96 deletions(-)
Thanks
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
The pull request you sent on Wed, 25 Aug 2021 14:45:15 +0200:
The pull request you sent on Wed, 25 Aug 2021 14:45:15 +0200:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.gitfsnotify_for_v5.15-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3513431926f9bfe3f4fcb06a39d9ec59b0470311
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html
Quoted 13 lines · Jan Kara
Hello Linus,
my vacation collides with the merge window which I expect to open next
week so I'm sending pull requests for the merge window early. Could you please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.gitfsnotify_for_v5.15-rc1to get fsnotify speedups when notification actually isn't used and support for identifying processes which caused fanotify events through pidfd instead of normal pid.
Quoted 8 lines
Top of the tree is
e43de7f0862b. The full shortlog is:Amir Goldstein (4):
fsnotify: replaceigrab()withihold()on attach connector
fsnotify: counts_fsnotify_inode_refsfor attached connectors
fsnotify: count all objects with attached connectors
fsnotify: optimize the case of no marks of any type
Linus,
At the risk of being too nagging, please see my patch [1] to fix a regression [2]
reported after this pull request was merged.
Thanks,
Amir.
[1] https://lore.kernel.org/linux-fsdevel/[email protected]/
[2] https://lore.kernel.org/linux-fsdevel/[email protected]/
Linus Torvalds
AppliedQuoted 5 lines · Amir Goldstein
Linus,
At the risk of being too nagging, please see my patch [1] to fix a regression [2] reported after this pull request was merged.
Not too nagging at all, pinging me is absolutely the right thing to do.
During the merge window I end up dealing with a lot of email, and concentrating on pull requests, and reminding me and making sure I'm aware of the patch was the right thing to do.
Applied in my tree now.
Thanks,
Linus