Commit 42bd3e69 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Konstantin Khlebnikov

ioping: Use consistent names for direct I/O and cached I/O

Industry standard terminology for input/output is I/O. This was used
in the man page, and it should be used in --help output and error messages.

While at it, rectify the 'direct I/O not supported' error message.
Signed-off-by: default avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent 23e048bd
...@@ -88,8 +88,8 @@ void usage(void) ...@@ -88,8 +88,8 @@ void usage(void)
" -S <wsize> working set size (1m)\n" " -S <wsize> working set size (1m)\n"
" -o <offset> in file offset\n" " -o <offset> in file offset\n"
" -L use sequential operations (include -s 256k)\n" " -L use sequential operations (include -s 256k)\n"
" -C use cached-io\n" " -C use cached I/O\n"
" -D use direct-io\n" " -D use direct I/O\n"
" -R seek rate test (same as -q -i 0 -w 3 -S 64m)\n" " -R seek rate test (same as -q -i 0 -w 3 -S 64m)\n"
" -q suppress human-readable output\n" " -q suppress human-readable output\n"
" -h display this message and exit\n" " -h display this message and exit\n"
...@@ -442,7 +442,7 @@ int main (int argc, char **argv) ...@@ -442,7 +442,7 @@ int main (int argc, char **argv)
#ifdef HAVE_DIRECT_IO #ifdef HAVE_DIRECT_IO
flags |= O_DIRECT; flags |= O_DIRECT;
#else #else
errx(1, "direct-io does not supportted by this os"); errx(1, "direct I/O not supportted by this platform");
#endif #endif
if (stat(path, &st)) if (stat(path, &st))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment