From: Ilya Dryomov Date: Fri, 25 Apr 2014 09:36:52 +0000 (+0400) Subject: test_librbd_fsx: update usage X-Git-Tag: v0.81~48^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8d41f86f42ab6aaec8ce7676795638d512794ce6;p=ceph.git test_librbd_fsx: update usage Update usage to include all options and flags. Signed-off-by: Ilya Dryomov --- diff --git a/src/test/librbd/fsx.c b/src/test/librbd/fsx.c index 97feb4c98962..166bf573baaa 100644 --- a/src/test/librbd/fsx.c +++ b/src/test/librbd/fsx.c @@ -1115,11 +1115,11 @@ void usage(void) { fprintf(stdout, "usage: %s", - "fsx [-dnqxAFLOWZ] [-b opnum] [-c Prob] [-l flen] [-m start:end] [-o oplen] [-p progressinterval] [-r readbdy] [-s style] [-t truncbdy] [-w writebdy] [-D startingop] [-N numops] [-P dirpath] [-S seed] pname iname\n\ + "fsx [-dfnqxyACFHLORWZ] [-b opnum] [-c Prob] [-l flen] [-m start:end] [-o oplen] [-p progressinterval] [-r readbdy] [-s style] [-t truncbdy] [-w writebdy] [-D startingop] [-N numops] [-P dirpath] [-S seed] pname iname\n\ -b opnum: beginning operation number (default 1)\n\ -c P: 1 in P chance of file close+open at each op (default infinity)\n\ -d: debug output for all operations\n\ - -f flush and invalidate cache after I/O\n\ + -f: flush and invalidate cache after I/O\n\ -l flen: the upper bound on file size (default 262144)\n\ -m startop:endop: monitor (print debug output) specified byte range (default 0:infinity)\n\ -n: no verifications of file size\n\ @@ -1131,25 +1131,25 @@ usage(void) -t truncbdy: 4096 would make truncates page aligned (default 1)\n\ -w writebdy: 4096 would make writes page aligned (default 1)\n\ -x: preallocate file space before starting, XFS only (default 0)\n\ - -y synchronize changes to a file\n" + -y: synchronize changes to a file\n" #ifdef AIO " -A: Use the AIO system calls\n" #endif -" -D startingop: debug output starting at specified operation\n" +" -C: do not use clone calls\n\ + -D startingop: debug output starting at specified operation\n" #ifdef FALLOCATE " -F: Do not use fallocate (preallocation) calls\n" #endif -" -H: Do not use punch hole calls\n" -" -C: Do not use clone calls\n" -" -L: fsxLite - no file creations & no file size changes\n\ +" -H: do not use punch hole calls\n\ + -L: fsxLite - no file creations & no file size changes\n\ -N numops: total # operations to do (default infinity)\n\ -O: use oplen (see -o flag) for every op (default random)\n\ - -P: save .fsxlog and .fsxgood files in dirpath (default ./)\n\ + -P dirpath: save .fsxlog and .fsxgood files in dirpath (default ./)\n\ + -R: read() system calls only (mapped reads disabled)\n\ -S seed: for random # generator (default 1) 0 gets timestamp\n\ -W: mapped write operations DISabled\n\ - -R: read() system calls only (mapped reads disabled)\n\ - -Z: O_DIRECT (use -R, -W, -r and -w too)\n\ + -Z: O_DIRECT (use -R, -W, -r and -w too)\n\ poolname: this is REQUIRED (no default)\n\ imagename: this is REQUIRED (no default)\n"); exit(89);