ext4: rewrite I/O submission paths to use bio's directly
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ext4: call mpage_da_submit_io() from mpage_da_map_blocks()fs/ | +30 | 1 reply | |
| 2/6 | ext4: simplify ext4_writepage()fs/ | +25 | 0 replies | |
| 3/6 | ext4: inline ext4_writepage() into mpage_da_submit_io()fs/ | +59 | 0 replies | |
| 4/6 | ext4: inline walk_page_buffers() into mpage_da_submit_iofs/ | +13 | 0 replies | |
| 5/6 | ext4: move mpage_put_bnr_to_bhs()'s functionality to mpage_da_submit_io()fs/ | +37 | 0 replies | |
| 6/6 | ext4: use bio layer instead of buffer layer in mpage_da_submit_iofs/ fs/ fs/ +3 more | +419 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] ext4: rewrite I/O submission paths to use bio's directly
This is the first draft of the patches that rewrite ext4's I/O submission paths to use the block I/O layer directly instead of using the buffer layer. This reduces lock contention on the block queue submission layers, and it should reduce CPU usage significantly.
There is still some cleanup and testing to be done, but this should be good enough for benchmarking purposes. This patch series survives xfstests with 4k blocks, and minimal testing with 1k blocks.
- Ted
Theodore Ts'o (6):
ext4: call mpage_da_submit_io() from mpage_da_map_blocks()
ext4: simplify ext4_writepage()
ext4: inline ext4_writepage() into mpage_da_submit_io()
ext4: inline walk_page_buffers() into mpage_da_submit_io
ext4: move mpage_put_bnr_to_bhs()'s functionality to
mpage_da_submit_io()
ext4: use bio layer instead of buffer layer in mpage_da_submit_io
fs/ext4/Makefile | 2 +- fs/ext4/ext4.h | 33 ++++- fs/ext4/extents.c | 4 +- fs/ext4/inode.c | 429 +++++++++++++++++++---------------------------------- fs/ext4/page-io.c | 363 ++++++++++++++++++++++++++++++++++++++++++++ fs/ext4/super.c | 8 +- 6 files changed, 555 insertions(+), 284 deletions(-) create mode 100644 fs/ext4/page-io.c