From: Amir Goldstein <amir73il@gmail.com>
To: Jan Kara <jack@suse.cz>
Cc: Christian Brauner <brauner@kernel.org>, linux-fsdevel@vger.kernel.org
Subject: [PATCH v2 0/2] More fsnotify hook optimizations
Date: Tue, 8 Jul 2025 16:36:39 +0200 [thread overview]
Message-ID: <20250708143641.418603-1-amir73il@gmail.com> (raw)
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/20250707170704.303772-1-amir73il@gmail.com/
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(-)
--
2.43.0
next reply other threads:[~2025-07-08 14:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-08 14:36 Amir Goldstein [this message]
2025-07-08 14:36 ` [PATCH v2 1/2] fsnotify: merge file_set_fsnotify_mode_from_watchers() with open perm hook Amir Goldstein
2025-07-08 14:36 ` [PATCH v2 2/2] fsnotify: optimize FMODE_NONOTIFY_PERM for the common cases Amir Goldstein
2025-07-09 8:02 ` [PATCH v2 0/2] More fsnotify hook optimizations Jan Kara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250708143641.418603-1-amir73il@gmail.com \
--to=amir73il@gmail.com \
--cc=brauner@kernel.org \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).