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

As writeback is becoming more and more common the longstanding
limitations of zram writeback throughput are becoming more
visible.  Introduce writeback bio batching so that multiple
writeback bio-s can be processed simultaneously.

v5 -> v6:
- added some comments to make code clearer
- use write lock for batch size limit store (Andrew)
- err on 0 batch size (Brian)
- pickup reviewed-by tags (Brian)

Sergey Senozhatsky (6):
  zram: introduce writeback bio batching
  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

 drivers/block/zram/zram_drv.c | 471 ++++++++++++++++++++++++++--------
 drivers/block/zram/zram_drv.h |   2 +-
 2 files changed, 365 insertions(+), 108 deletions(-)

-- 
2.52.0.460.gd25c4c69ec-goog



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

end of thread, other threads:[~2025-11-24 15:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-22  7:40 [PATCHv6 0/6] zram: introduce writeback bio batching Sergey Senozhatsky
2025-11-22  7:40 ` [PATCHv6 1/6] " Sergey Senozhatsky
2025-11-22  7:40 ` [PATCHv6 2/6] zram: add writeback batch size device attr Sergey Senozhatsky
2025-11-24 15:50   ` Brian Geffon
2025-11-22  7:40 ` [PATCHv6 3/6] zram: take write lock in wb limit store handlers Sergey Senozhatsky
2025-11-22  7:40 ` [PATCHv6 4/6] zram: drop wb_limit_lock Sergey Senozhatsky
2025-11-22  7:40 ` [PATCHv6 5/6] zram: rework bdev block allocation Sergey Senozhatsky
2025-11-22  7:40 ` [PATCHv6 6/6] zram: read slot block idx under slot lock Sergey Senozhatsky
2025-11-22 21:54 ` [PATCHv6 0/6] zram: introduce writeback bio batching Andrew Morton
2025-11-22 23:49   ` Sergey Senozhatsky

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