ext4: Allow writeback IO without io_end
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ext4: Move error reporting on bio completion to ext4_finish_bio()fs/ | +14 | 0 replies | |
| 2/4 | ext4: Allow IO submission without io_endfs/ | +8 | 0 replies | |
| 3/4 | ext4: Don't allocate io_end for writeback from ext4_writepage()fs/ | +0 | 0 replies | |
| 4/4 | ext4: Remove unnecessary io_end allocation from ext4_writepages()fs/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] ext4: Allow writeback IO without io_end
Hello,
this patch series allows ext4 to do page writeback without having io_end allocated for the cases when block allocation is not required (it is the part of my writepages improvements that didn't get merged in the first round). In such cases io_end is not really necessary (it is really required only when extent conversion has to happen after IO has finished) so just tweak the IO completion code to allow IO submission without io_end allocated. It saves us memory allocation on writeback path - it is not a big deal for performance but it is nice in close-to-ENOMEM situations.
The patches have passed xfstests for ext4 and ext3 configurations, specifically I have taken care to verify IO error handling still works.
Honza