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

Commit b6a275a

Browse files
author
Hua Huang
committed
fix review comments
Signed-off-by: Hua Huang <[email protected]>
1 parent f4ce4f5 commit b6a275a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

m0t1fs/linux_kernel/st/m0t1fs_common_inc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ IOS5_CMD="" #IOS5 process commandline to spawn it again on Controller even
8181

8282
IOS4_CMD=""
8383

84-
export IOS_DISK_BLOCK_COUNT=1M
84+
export IOS_DISK_SEEK_BLOCK_COUNT=1M
8585

8686
# list of md server end points tmid in [800, 899)
8787
MDSEP=(

m0t1fs/linux_kernel/st/m0t1fs_server_inc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ EOF
9595
for (( ; DDEV_ID < $dev_end; DDEV_ID++)) ; do
9696
conf_ios_device_setup $DDEV_ID $id_count id_count "$ids" ids
9797

98-
dd if=/dev/zero of=$DDEV_ID$ddisk bs=1M seek=$IOS_DISK_BLOCK_COUNT count=1 ||
98+
dd if=/dev/zero of=$DDEV_ID$ddisk bs=1M seek=$IOS_DISK_SEEK_BLOCK_COUNT count=1 ||
9999
return 1
100100
if [ ! -e /dev/loop$DDEV_ID ]; then
101101
create_loop_device $DDEV_ID

motr/st/utils/copy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ int main(int argc, char **argv)
128128

129129
client_fini(m0_instance);
130130

131-
return rc == 0 ? 0 : -rc;
131+
return -rc;
132132
}
133133

134134
/*

motr/st/utils/motr_io_small_disks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ TOPDIR=$(dirname "$0")/../../../
3232
export MOTR_CLIENT_ONLY=1
3333

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

3737
motr_io_small_disks()
3838
{

0 commit comments

Comments
 (0)