linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 0/6] zram: introduce writeback bio batching
@ 2025-11-18  7:29 Sergey Senozhatsky
  2025-11-18  7:29 ` [PATCHv4 1/6] zram: introduce writeback bio batching support Sergey Senozhatsky
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Sergey Senozhatsky @ 2025-11-18  7:29 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Minchan Kim, Yuwen Chen, Richard Chang, Brian Geffon,
	Fengyu Lian, linux-kernel, linux-mm, linux-block,
	Sergey Senozhatsky

This is a rework of Yuwen's patch [1] that adds writeback bio
batching support to zram, which can improve throughput of
writeback operation.

[1] https://lore.kernel.org/linux-block/tencent_0FBBFC8AE0B97BC63B5D47CE1FF2BABFDA09@qq.com/

v3 -> v4:
- fixed bdev block id leak (Yuwen)
- fixed missing pps index assignment (Yuwen)
- fixed preliminary wb IO completion slot release
- we now use bit 0 for writeback as well
- access bdev read slot block id under slot lock
- some other cleanups

Sergey Senozhatsky (5):
  zram: add writeback batch size device attr
  zram: take write lock in wb limit store handlers
  zram: drop wb_limit_lock
  zram: rework bdev block allocation
  zram: read slot block idx under slot lock

Yuwen Chen (1):
  zram: introduce writeback bio batching support

 drivers/block/zram/zram_drv.c | 452 ++++++++++++++++++++++++++--------
 drivers/block/zram/zram_drv.h |   2 +-
 2 files changed, 348 insertions(+), 106 deletions(-)

--
2.52.0.rc1.455.g30608eb744-goog



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-11-21  1:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-18  7:29 [PATCHv4 0/6] zram: introduce writeback bio batching Sergey Senozhatsky
2025-11-18  7:29 ` [PATCHv4 1/6] zram: introduce writeback bio batching support Sergey Senozhatsky
2025-11-18  7:29 ` [PATCHv4 2/6] zram: add writeback batch size device attr Sergey Senozhatsky
2025-11-21  1:17   ` Andrew Morton
2025-11-21  1:55     ` Sergey Senozhatsky
2025-11-18  7:29 ` [PATCHv4 3/6] zram: take write lock in wb limit store handlers Sergey Senozhatsky
2025-11-18  7:29 ` [PATCHv4 4/6] zram: drop wb_limit_lock Sergey Senozhatsky
2025-11-18  7:29 ` [PATCHv4 5/6] zram: rework bdev block allocation Sergey Senozhatsky
2025-11-18  7:30 ` [PATCHv4 6/6] zram: read slot block idx under slot lock Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox