SC2048: Use "${array[@]}" (with quotes) to prevent whitespace problems.
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Change-Id: I64473e4904c82fa06d41e8a02d56070ebf966adc Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15559 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Michal Berger <michal.berger@intel.com>
This commit is contained in:
parent
d7fc39cc93
commit
6e7b3e4cba
@ -318,6 +318,6 @@ get_cc_toolchain
|
||||
|
||||
cross_compile_packages=(numa uuid crypto_ssl libaio ncurses cunit isal dpdk spdk)
|
||||
|
||||
for index in ${cross_compile_packages[*]}; do
|
||||
for index in "${cross_compile_packages[@]}"; do
|
||||
cross_compile_$index
|
||||
done
|
||||
|
@ -29,10 +29,10 @@ function reactor_set_intr_mode() {
|
||||
|
||||
if [ "$without_thd"x != x ]; then
|
||||
# Schedule all spdk_threads to reactor 1
|
||||
for i in ${thd0_ids[*]}; do
|
||||
for i in "${thd0_ids[@]}"; do
|
||||
$rpc_py thread_set_cpumask -i $i -m $r1_mask
|
||||
done
|
||||
for i in ${thd2_ids[*]}; do
|
||||
for i in "${thd2_ids[@]}"; do
|
||||
$rpc_py thread_set_cpumask -i $i -m $r1_mask
|
||||
done
|
||||
fi
|
||||
@ -48,7 +48,7 @@ function reactor_set_intr_mode() {
|
||||
$rpc_py --plugin interrupt_plugin reactor_set_interrupt_mode 2
|
||||
if [ "$without_thd"x != x ]; then
|
||||
# Schedule spdk_threads in thd2_ids back to reactor 2
|
||||
for i in ${thd2_ids[*]}; do
|
||||
for i in "${thd2_ids[@]}"; do
|
||||
$rpc_py thread_set_cpumask -i $i -m $r2_mask
|
||||
done
|
||||
fi
|
||||
@ -59,7 +59,7 @@ function reactor_set_intr_mode() {
|
||||
$rpc_py --plugin interrupt_plugin reactor_set_interrupt_mode 0
|
||||
if [ "$without_thd"x != x ]; then
|
||||
# Schedule spdk_threads in thd2_ids back to reactor 0
|
||||
for i in ${thd0_ids[*]}; do
|
||||
for i in "${thd0_ids[@]}"; do
|
||||
$rpc_py thread_set_cpumask -i $i -m $r0_mask
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user