Skip to content

Commit b1b99d1

Browse files
jtpittman195kawasaki
authored andcommitted
md/{002,004}: adjust per_host_store to use numeric boolean
In both md/004 and md/002, when loading the scsi_debug module, "true" is passed as the value for per_host_store. However, on older kernels, kstrtobool is more limited, so we get the error: "scsi_debug: `true' invalid for parameter `per_host_store'". Change the boolean from "true" to "1" to avoid this issue. Signed-off-by: John Pittman <jpittman@redhat.com> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
1 parent 0fc119b commit b1b99d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/md/002

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test() {
2222
atomic_wr=1
2323
num_tgts=1
2424
add_host=4
25-
per_host_store=true
25+
per_host_store=1
2626
dev_size_mb=16
2727
)
2828

tests/md/004

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ setup_test_device() {
2424
local scsi_debug_params=(
2525
num_tgts=1
2626
add_host=2
27-
per_host_store=true
27+
per_host_store=1
2828
"${@:2}"
2929
)
3030

0 commit comments

Comments
 (0)