]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm vdo slab-depot: read refcount blocks in large chunks at load time
authorKen Raeburn <raeburn@redhat.com>
Sat, 1 Feb 2025 02:18:06 +0000 (21:18 -0500)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 3 Feb 2025 13:15:30 +0000 (14:15 +0100)
commit0ce46f4f751bc15375aea501a991ec931278b415
treeb4e09012ad6242b78b079e201e4a6bf373a4de8d
parentf979da512553a41a657f2c1198277e84d66f8ce3
dm vdo slab-depot: read refcount blocks in large chunks at load time

At startup, vdo loads all the reference count data before the device
reports that it is ready. Using a pool of large metadata vios can
improve the startup speed of vdo. The pool of large vios is released
after the device is ready.

During normal operation, reference counts are updated 4kB at a time,
as before.

Signed-off-by: Ken Raeburn <raeburn@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-vdo/slab-depot.c
drivers/md/dm-vdo/slab-depot.h