Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 169516a

Browse files
committed
Restructure test_fync to use modular C so there is less duplicate code
and it can be enhanced easier.
1 parent 3866ff6 commit 169516a

File tree

2 files changed

+190
-257
lines changed

2 files changed

+190
-257
lines changed

src/tools/fsync/README

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ test_fsync
33

44
This program tests fsync. The tests are described as part of the program output.
55

6-
Usage: test_fsync [-f filename] [loops]
6+
Usage: test_fsync [-f filename] [ops_per_test]
77

88
test_fsync is intended to give you a reasonable idea of what the fastest
99
fsync_method is on your specific system, as well as supplying diagnostic
@@ -16,5 +16,6 @@ The output filename defaults to test_fsync.out in the current directory.
1616
test_fsync should be run in the same filesystem as your transaction log
1717
directory (pg_xlog).
1818

19-
Loops default to 2000. Increase this to get more accurate measurements.
19+
Ops-per-test defaults to 2000. Increase this to get more accurate
20+
measurements.
2021

0 commit comments

Comments
 (0)