]> www.infradead.org Git - users/dwmw2/linux.git/commit
dm raid: move _get_reshape_sectors() as prerequisite to fixing reshape size issues
authorHeinz Mauelshagen <heinzm@redhat.com>
Tue, 9 Jul 2024 11:56:12 +0000 (13:56 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 10 Jul 2024 11:10:06 +0000 (13:10 +0200)
commit453496b899b5f62ff193bca46097f0f7211cec46
treee4525186bc5e3e3a47eab4d58701ab10c347164f
parent6a6c56130aaaeb893a237b2db058251d0f2800de
dm raid: move _get_reshape_sectors() as prerequisite to fixing reshape size issues

rs_set_dev_and_array_sectors() needs this function to
calculate device and array size properly in case leg data
devices have out-of-place reshape space allocated.

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-raid.c