v1
2026-10-08
zswap回写IO批处理 · v1
v1 让 zswap 回写按连续 entry 批量合并,并 plug LRU walk 以便块层进一步合并 IO。
原始补丁链接
子 Patch(2)
1/2
mm/zswap: batch the writeback IO of consecutive entries
[mm/zswap: batch the writeback IO of consecutive entries] Commit 8f29aa226f82 (“mm/swap: introduce struct swap_io_ctx”) introduced a simple way to batch the swap writes of folios with consecutive slot
2/2
mm/zswap: plug the writeback IO of an LRU walk
[mm/zswap: plug the writeback IO of an LRU walk] zswap writeback only appends an entry to the pending bio when its slot directly follows the previous one, and submits the pending bio otherwise. Plug