Skip to content

Preparing for fanotify super block marks

Amir Goldstein linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest13 patches 4 repliesIn review

Changes in v3 from the cover letter

- Some fix patches already merged
- Remove patches that implement super block mark
- Refernce abstract fsnotify_obj from connector
- Address Jan's review comments on type iteration helpers
- Better names for helpers and report_mask

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13fsnotify: use type id to identify connector object typefs/notify/fdinfo.c fs/notify/group.c fs/notify/mark.c +1 more+32 -260 replies
2/13fsnotify: remove redundant arguments to handle_event()fs/notify/dnotify/dnotify.c fs/notify/fanotify/fanotify.c fs/notify/fsnotify.c +8 more+58 -500 replies
3/13fsnotify: introduce marks iteration helpersfs/notify/fsnotify.c+49 -250 replies
4/13fsnotify: generalize iteration of marks by object typefs/notify/fsnotify.c fs/notify/inotify/inotify_user.c fs/notify/mark.c +1 more+72 -390 replies
5/13fsnotify: generalize send_to_group()fs/notify/fsnotify.c+23 -250 replies
6/13fanotify: generalize fanotify_should_send_event()fs/notify/fanotify/fanotify.c+20 -181 reply
7/13fsnotify: add fsnotify_add_inode_mark() wrappersfs/notify/dnotify/dnotify.c fs/notify/inotify/inotify_user.c include/linux/fsnotify_backend.h +3 more+24 -100 replies
8/13fsnotify: introduce prototype struct fsnotify_objfs/inode.c fs/mount.h fs/notify/dnotify/dnotify.c +11 more+78 -531 reply
9/13fsnotify: pass fsnotify_obj instead of **connp argumentfs/notify/dnotify/dnotify.c fs/notify/fanotify/fanotify_user.c fs/notify/fsnotify.h +5 more+36 -420 replies
10/13fsnotify: pass object and object type to fsnotify_add_mark()fs/notify/fanotify/fanotify_user.c fs/notify/mark.c include/linux/fsnotify_backend.h+39 -370 replies
11/13fsnotify: add fsnotify_connector_inode() wrapperfs/notify/fdinfo.c fs/notify/mark.c include/linux/fsnotify_backend.h +1 more+16 -81 reply
12/13fsnotify: let connector point to abstract fsnotify_objfs/notify/fdinfo.c fs/notify/mark.c include/linux/fsnotify_backend.h+19 -260 replies
13/13fanotify: factor out helpers to add/remove markfs/notify/fanotify/fanotify_user.c+32 -580 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 00/13] Preparing for fanotify super block marks

Jan,

Per your request, here is the prep series for super block mark, with all review comments addressed and rebased on your for_next branch.

For those interested in the super block marks work, here are the patches [1] and ltp tests [2]. I hope we can iron out any remaining concerns during LSF/MM.

Thanks,
Amir.

[1] https://github.com/amir73il/linux/commits/fanotify_sb
[2] https://github.com/amir73il/ltp/commits/fanotify_sb

Changes since v2:
- Some fix patches already merged
- Remove patches that implement super block mark
- Refernce abstract fsnotify_obj from connector
- Address Jan's review comments on type iteration helpers
- Better names for helpers and report_mask

Amir Goldstein (13):
fsnotify: use type id to identify connector object type
fsnotify: remove redundant arguments to handle_event()
fsnotify: introduce marks iteration helpers
fsnotify: generalize iteration of marks by object type
fsnotify: generalize send_to_group()
fanotify: generalize fanotify_should_send_event()
fsnotify: add fsnotify_add_inode_mark() wrappers
fsnotify: introduce prototype struct fsnotify_obj
fsnotify: pass fsnotify_obj instead of **connp argument
fsnotify: pass object and object type to fsnotify_add_mark()
fsnotify: add fsnotify_connector_inode() wrapper
fsnotify: let connector point to abstract fsnotify_obj
fanotify: factor out helpers to add/remove mark

 fs/inode.c                           |   2 +-
 fs/mount.h                           |  11 ++-
 fs/notify/dnotify/dnotify.c          |  16 ++--
 fs/notify/fanotify/fanotify.c        |  48 +++++------
 fs/notify/fanotify/fanotify_user.c   |  98 ++++++++-------------
 fs/notify/fdinfo.c                   |  12 +--
 fs/notify/fsnotify.c                 | 160 ++++++++++++++++++++---------------
 fs/notify/fsnotify.h                 |  14 +--
 fs/notify/group.c                    |   2 +-
 fs/notify/inotify/inotify.h          |   2 -
 fs/notify/inotify/inotify_fsnotify.c |   6 +-
 fs/notify/inotify/inotify_user.c     |  16 ++--
 fs/notify/mark.c                     | 140 ++++++++++++++----------------
 include/linux/fs.h                   |   6 +-
 include/linux/fsnotify_backend.h     | 120 +++++++++++++++++++++-----
 include/linux/fsnotify_obj.h         |  14 +++
 kernel/audit_fsnotify.c              |   5 +-
 kernel/audit_tree.c                  |  20 ++---
 kernel/audit_watch.c                 |   7 +-
 kernel/auditsc.c                     |   4 +-
 20 files changed, 392 insertions(+), 311 deletions(-)
 create mode 100644 include/linux/fsnotify_obj.h
Signature · 1 line
2.7.4