Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix Codacy warnings.
Browse files Browse the repository at this point in the history
Signed-off-by: Hua Huang <hua.huang@seagate.com>
  • Loading branch information
Hua Huang committed Jun 28, 2022
1 parent 731381d commit a47946f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion m0t1fs/linux_kernel/st/m0t1fs_common_inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ IOS5_CMD="" #IOS5 process commandline to spawn it again on Controller even

IOS4_CMD=""

IOS_DISK_BLOCK_COUNT=1M
export IOS_DISK_BLOCK_COUNT=1M

# list of md server end points tmid in [800, 899)
MDSEP=(
Expand Down
17 changes: 8 additions & 9 deletions motr/st/utils/motr_io_small_disks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
#


TOPDIR=`dirname $0`/../../../
TOPDIR="$(dirname $0)/../../../"

. ${TOPDIR}/m0t1fs/linux_kernel/st/common.sh
. ${TOPDIR}/m0t1fs/linux_kernel/st/m0t1fs_common_inc.sh
. ${TOPDIR}/m0t1fs/linux_kernel/st/m0t1fs_client_inc.sh
. ${TOPDIR}/m0t1fs/linux_kernel/st/m0t1fs_server_inc.sh
. ${TOPDIR}/m0t1fs/linux_kernel/st/m0t1fs_sns_common_inc.sh
. ${TOPDIR}/motr/st/utils/sns_repair_common_inc.sh
. "${TOPDIR}/m0t1fs/linux_kernel/st/common.sh"
. "${TOPDIR}/m0t1fs/linux_kernel/st/m0t1fs_common_inc.sh"
. "${TOPDIR}/m0t1fs/linux_kernel/st/m0t1fs_client_inc.sh"
. "${TOPDIR}/m0t1fs/linux_kernel/st/m0t1fs_server_inc.sh"
. "${TOPDIR}/m0t1fs/linux_kernel/st/m0t1fs_sns_common_inc.sh"
. "${TOPDIR}/motr/st/utils/sns_repair_common_inc.sh"


export MOTR_CLIENT_ONLY=1
Expand All @@ -37,7 +37,6 @@ export IOS_DISK_BLOCK_COUNT=500
motr_io_small_disks()
{
local rc=0
local fail_device=1

echo "Startin motr_io_small_disks testing ..."

Expand All @@ -61,7 +60,7 @@ main()

sandbox_init

NODE_UUID=`uuidgen`
NODE_UUID=$(uuidgen)
local multiple_pools=0
motr_service start $multiple_pools $stride $N $K $S $P || {
echo "Failed to start Motr Service."
Expand Down

0 comments on commit a47946f

Please sign in to comment.