]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm vdo vio-pool: allow variable-sized metadata vios
authorKen Raeburn <raeburn@redhat.com>
Sat, 1 Feb 2025 02:18:05 +0000 (21:18 -0500)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 3 Feb 2025 13:15:19 +0000 (14:15 +0100)
commitf979da512553a41a657f2c1198277e84d66f8ce3
tree658258d752a93e7a2282f187ab6982469dd4347e
parent979a0fd396f4924e7ee7ca23186ffeeeefd8b4ca
dm vdo vio-pool: allow variable-sized metadata vios

With larger-sized metadata vio pools, vdo will sometimes need to
issue I/O with a smaller size than the allocated size. Since
vio_reset_bio is where the bvec array and I/O size are initialized,
this reset interface must now specify what I/O size to use.

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/io-submitter.c
drivers/md/dm-vdo/io-submitter.h
drivers/md/dm-vdo/types.h
drivers/md/dm-vdo/vio.c
drivers/md/dm-vdo/vio.h