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

Commit

Permalink
fix review comments
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 Jul 22, 2022
1 parent f4ce4f5 commit b6a275a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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=""

export IOS_DISK_BLOCK_COUNT=1M
export IOS_DISK_SEEK_BLOCK_COUNT=1M

# list of md server end points tmid in [800, 899)
MDSEP=(
Expand Down
2 changes: 1 addition & 1 deletion m0t1fs/linux_kernel/st/m0t1fs_server_inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ EOF
for (( ; DDEV_ID < $dev_end; DDEV_ID++)) ; do
conf_ios_device_setup $DDEV_ID $id_count id_count "$ids" ids

dd if=/dev/zero of=$DDEV_ID$ddisk bs=1M seek=$IOS_DISK_BLOCK_COUNT count=1 ||
dd if=/dev/zero of=$DDEV_ID$ddisk bs=1M seek=$IOS_DISK_SEEK_BLOCK_COUNT count=1 ||
return 1
if [ ! -e /dev/loop$DDEV_ID ]; then
create_loop_device $DDEV_ID
Expand Down
2 changes: 1 addition & 1 deletion motr/st/utils/copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ int main(int argc, char **argv)

client_fini(m0_instance);

return rc == 0 ? 0 : -rc;
return -rc;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion motr/st/utils/motr_io_small_disks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ TOPDIR=$(dirname "$0")/../../../
export MOTR_CLIENT_ONLY=1

# The ioservice will have a very small disk to trigger -ENOSPC test
export IOS_DISK_BLOCK_COUNT=500
export IOS_DISK_SEEK_BLOCK_COUNT=500

motr_io_small_disks()
{
Expand Down

0 comments on commit b6a275a

Please sign in to comment.