fstests: test that RWF_DONTCACHE I/O drops its folios
Get series with b4
b4 am [email protected] change-id 20261015-dontcache-test-be6094aa3f20Versions newest first
- v2 Latest3 patches 4 repliesIn review
- v13 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- generic/810: fold the writeback wait into report_cached() with an
optional delay, and give the plain cases a short delay, per Brian
Foster.
- Link to v1: https://patch.msgid.link/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | common/rc: probe pread options with a real readcommon/ | +5 | 0 replies | |
| 2/3 | common/rc: pass -V 1 when probing pwrite and pread -Ucommon/ | +11 | 1 reply | |
| 3/3 | generic/810: check that RWF_DONTCACHE I/O drops its foliostests/ tests/ | +88 | 3 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Brian Foster | Christoph Hellwig |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] fstests: test that RWF_DONTCACHE I/O drops its folios
Add a test for RWF_DONTCACHE, as suggested by Christoph. [1]
generic/810 writes and reads a 1M file with and without RWF_DONTCACHE and checks with mincore how much of it is still cached after each step. On ext4 without the fix, the dontcache overwrite leaves the whole file cached.
The first two patches make _require_xfs_io_command able to probe "pwrite -U" and "pread -U".
---
Changes in v2:
- generic/810: fold the writeback wait into report_cached() with an
optional delay, and give the plain cases a short delay, per Brian
Foster.
- Link to v1: https://patch.msgid.link/[email protected]
---
Tal Zussman (3):
common/rc: probe pread options with a real read common/rc: pass -V 1 when probing pwrite and pread -U generic/810: check that RWF_DONTCACHE I/O drops its folios
common/rc | 14 ++++++++++ tests/generic/810 | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++ tests/generic/810.out | 11 ++++++++ 3 files changed, 102 insertions(+)
---
base-commit: d07dca72d2455f4ba8c660ad4c008541ccccb707
change-id: 20261015-dontcache-test-be6094aa3f20
Best regards,
Signature · 1 line
Tal Zussman <[email protected]>