Fanotify tests for FAN_MARK_EVICTABLE
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 29 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | syscalls/inotify12: Introduce test for inotify mask flagsruntest/ testcases/ testcases/ | +170 | 7 replies | |
| 2/5 | syscalls/fanotify23: Introduce FAN_MARK_EVICTABLE testruntest/ testcases/ testcases/ +1 more | +264 | 4 replies | |
| 3/5 | syscalls/fanotify10: Watch directory that is not the mount pathtestcases/ | +16 | 5 replies | |
| 4/5 | syscalls/fanotify10: Mount cycle between test casestestcases/ | +18 | 1 reply | |
| 5/5 | syscalls/fanotify10: Add test cases for evictable ignore marktestcases/ | +78 | 12 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Petr Vorel | Jan Kara | Amir Goldstein |
|---|---|---|---|
| 1/5 | R-b | R-b | |
| 2/5 | R-b | ||
| 3/5 | |||
| 4/5 | R-b | ||
| 5/5 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [LTP] [PATCH 0/5] Fanotify tests for FAN_MARK_EVICTABLE
Hi Petr,
FAN_MARK_EVICTABLE feature was merge in v5.19-rc1.
Here are the tests for it.
inotify12 is a test for an unrelated fix.
Note that fanotify23 is run on ext2.
That is because, I could not find a way to reliably evict an inode on any filesystem and the rain dance I did with vfs_cache_pressure and drop_caches works reliably with ext2 on my test setup.
If that turns out not to work on other systems, we will need to re-think of a more aggressive way to force inode eviction.
Thanks,
Amir.
Amir Goldstein (5):
syscalls/inotify12: Introduce test for inotify mask flags syscalls/fanotify23: Introduce FAN_MARK_EVICTABLE test syscalls/fanotify10: Watch directory that is not the mount path syscalls/fanotify10: Mount cycle between test cases syscalls/fanotify10: Add test cases for evictable ignore mark
runtest/syscalls | 2 + testcases/kernel/syscalls/fanotify/.gitignore | 1 + testcases/kernel/syscalls/fanotify/fanotify.h | 4 + .../kernel/syscalls/fanotify/fanotify10.c | 131 +++++++-- .../kernel/syscalls/fanotify/fanotify23.c | 258 ++++++++++++++++++ testcases/kernel/syscalls/inotify/.gitignore | 1 + testcases/kernel/syscalls/inotify/inotify12.c | 168 ++++++++++++ 7 files changed, 546 insertions(+), 19 deletions(-) create mode 100644 testcases/kernel/syscalls/fanotify/fanotify23.c create mode 100644 testcases/kernel/syscalls/inotify/inotify12.c
Signature · 5 lines
2.25.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp