[PATCH lkp-tests] setup/fs: support much values of hdd_partitions parameter

hdd_partitions: /dev/vda /dev/vdb as above, setup/fs only deal with /dev/vda. Signed-off-by: Cui Yili <2268260388@qq.com> --- setup/fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/fs b/setup/fs index 23eaa3b85..824c86614 100755 --- a/setup/fs +++ b/setup/fs @@ -159,7 +159,7 @@ mount_fs() { if is_btrfs_raid_levels; then bdevs="${partitions%% *}" else - bdevs="$partitions" + bdevs="$hdd_partitions" fi fs_options -- 2.23.0

This fix looks the wrong way. Please show the direct evidence and find a better fix. On Wed, Feb 10, 2021 at 10:31:52AM +0800, Cui Yili wrote:
hdd_partitions: /dev/vda /dev/vdb as above, setup/fs only deal with /dev/vda.
Signed-off-by: Cui Yili <2268260388@qq.com> --- setup/fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup/fs b/setup/fs index 23eaa3b85..824c86614 100755 --- a/setup/fs +++ b/setup/fs @@ -159,7 +159,7 @@ mount_fs() { if is_btrfs_raid_levels; then bdevs="${partitions%% *}" else - bdevs="$partitions" + bdevs="$hdd_partitions" fi
fs_options -- 2.23.0
participants (2)
-
Cui Yili
-
Wu Fengguang