Skip to content

fanotify super block marks

Amir Goldstein linux-fsdevel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v33 patches 8 repliesSuperseded
  3. v220 patches 26 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch1 replySuperseded

Changes in v4 from the cover letter

- Rebase on top of ignore mask fix patch
- Address "semantic" review comments on FAN_MARK_FILESYSTEM flag

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fsnotify: add super block object typefs/notify/fdinfo.c fs/notify/fsnotify.c fs/notify/fsnotify.h +4 more+47 -50 replies
2/3fsnotify: send path type events to group with super block marksfs/notify/fsnotify.c+14 -100 replies
3/3fanotify: add API to attach/detach super block markfs/notify/fanotify/fanotify_user.c include/uapi/linux/fanotify.h+46 -80 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/3] fanotify super block marks

Jan,

The following patches implement the new mark type FAN_MARK_FILESYSTEM to enable monitoring of filesystem events on all filesystem objects regardless of the mount where event was generated.

These patches are available on my github [1] along with LTP tests [2] and man-pages update [3].

Thanks,
Amir.

[1] https://github.com/amir73il/linux/commits/fanotify_sb
[2] https://github.com/amir73il/ltp/commits/fanotify_sb
[3] https://github.com/amir73il/man-pages/commits/fanotify_sb

Changes since v3:
- Rebase on top of ignore mask fix patch
- Address "semantic" review comments on FAN_MARK_FILESYSTEM flag

Changes since v2:
- Rebased on top of merged cleanup patches
- Show super block marks in fanotify_fdinfo()
- Add man pages patch [3]

Amir Goldstein (3):
fsnotify: add super block object type
fsnotify: send path type events to group with super block marks
fanotify: add API to attach/detach super block mark

 fs/notify/fanotify/fanotify_user.c | 37 ++++++++++++++++++++++++++----
 fs/notify/fdinfo.c                 |  5 ++++
 fs/notify/fsnotify.c               | 32 +++++++++++++++++---------
 fs/notify/fsnotify.h               | 11 +++++++++
 fs/notify/mark.c                   |  4 ++++
 fs/super.c                         |  2 +-
 include/linux/fs.h                 |  5 ++++
 include/linux/fsnotify_backend.h   | 17 +++++++++++---
 include/uapi/linux/fanotify.h      |  7 +++++-
 9 files changed, 99 insertions(+), 21 deletions(-)
Signature · 1 line
2.17.1