Skip to content

write_cache_pages fixes

[email protected] linux-ext4 linux-fsdevel linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8mm: write_cache_pages cyclic fixmm/page-writeback.c+15 -70 replies
2/8mm: write_cache_pages AOP_WRITEPAGE_ACTIVATE fixmm/page-writeback.c+3 -13 replies
3/8mm: write_cache_pages writepage error fixmm/page-writeback.c+10 -60 replies
4/8mm: write_cache_pages type overflow fixmm/page-writeback.c+1 -113 replies
5/8mm: write_cache_pages integrity fixmm/filemap.c mm/page-writeback.c+5 -310 replies
6/8mm: write_cache_pages cleanupsmm/page-writeback.c+22 -121 reply
7/8mm: write_cache_pages optimise page cleaningmm/page-writeback.c+13 -40 replies
8/8mm: write_cache_pages terminate quicklymm/page-writeback.c+11 -110 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 0/8] write_cache_pages fixes

OK, here is a submission for the bugs and small improvements I saw for write_cache_pages. This does not include any work on the "livelock" issue (which Mikulas and myself have different approaches to fix), but I think these patches should go in first because they're fixing actual hard bugs (and just a couple of minor improvements).

I've given it some testing, but there are so many combinations of behaviours here, that I'd like some fsdevel people to look over it (eg. I didn't test with an AOP_WRITEPAGE_TRUNCATE filesystem, or a range_cyclic one).