Skip to content

Reduce memory usage when there are dozens dm-verity devices.

LongPing Wei dm-devel 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dm-verity: all verity devices share the same dm_io_client and recheck_pool.drivers/md/dm-verity-target.c drivers/md/dm-verity.h+49 -250 replies
2/2dm-bufio: all dm_bufio_client share the same dm_io_client.drivers/md/dm-bufio.c+17 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Reduce memory usage when there are dozens dm-verity devices.

# Before

# cat /proc/slabinfo | grep biovec
biovec-max          2159   2173   4096    8    8 : tunables    0    0    0 : slabdata    276    276      0

# After

# cat /proc/slabinfo | grep biovec
biovec-max           232    248   4096    8    8 : tunables    0    0    0 : slabdata     31     31      0

LongPing Wei (2):
dm-verity: all verity devices share the same dm_io_client and
recheck_pool.
dm-bufio: all dm_bufio_client share the same dm_io_client.

 drivers/md/dm-bufio.c         | 31 ++++++++-------
 drivers/md/dm-verity-target.c | 71 ++++++++++++++++++++++++-----------
 drivers/md/dm-verity.h        |  3 --
 3 files changed, 66 insertions(+), 39 deletions(-)
Signature · 1 line
2.34.1