Commit graph

1549 commits

Author SHA1 Message Date
Andrea Mazzoleni
8d3cefb302 Allow compilation without pthread support 2016-03-18 18:45:35 +01:00
Andrea Mazzoleni
fe3ad31cbb Allow to disable the multithread mode
Use the --test-io-cache=1 option to use a special
monothread mode.
2016-03-18 18:33:11 +01:00
Andrea Mazzoleni
1ed5a25f79 Update TODO 2016-03-13 09:49:21 +01:00
Andrea Mazzoleni
8fbd8b35ea Add support for escaping in Windows with the '^' char 2016-03-05 12:05:11 +01:00
Andrea Mazzoleni
ecff017ffe Log more information during UUID detection 2016-03-01 23:29:46 +01:00
Andrea Mazzoleni
62e4b7e14c Clearer blkid message about package to install 2016-03-01 22:16:19 +01:00
Andrea Mazzoleni
5239f99842 Use correct double slash in using --test-io-cache 2016-02-20 19:17:03 +01:00
Andrea Mazzoleni
7992ca1a77 Extend the diff manual and reorder the final summary 2016-02-14 10:37:44 +01:00
Andrea Mazzoleni
0f640fa2d2 Fix a typo in option name 2016-02-14 09:39:32 +01:00
Andrea Mazzoleni
93f25c4bc4 Rename the io->mutex variable to io->io_mutex
This simplifies text search for mutexes.
2016-02-13 16:05:20 +01:00
Andrea Mazzoleni
0707b1f446 Error check all the thread operations
No error is expected, and this enforces that expectation.
2016-02-13 16:05:19 +01:00
Andrea Mazzoleni
d13cd42784 Update HISTORY 2016-02-13 16:05:19 +01:00
Andrea Mazzoleni
3c6a7bac3e Make the conditional variable signaling configurable at runtime
This allows to verify if the signaling outside the mutex gives
any performance improvment.
2016-02-13 16:05:19 +01:00
Andrea Mazzoleni
86eaf8190f Use the native Windows thread support instead of pthread 2016-02-13 16:05:16 +01:00
Andrea Mazzoleni
42330c05b6 In Windows use the safe signaling
This mostly to detect possible problems in the Windows pthread implementation
2016-02-12 19:10:01 +01:00
Andrea Mazzoleni
44992fbfe9 Update HISTORY 2016-02-11 18:29:27 +01:00
Andrea Mazzoleni
8c4c900505 Update HISTORY 2016-02-10 21:36:18 +01:00
Andrea Mazzoleni
840ec7b1c3 Use precise quoting for the shell commands 2016-02-10 21:30:54 +01:00
Andrea Mazzoleni
12b30c198e Use a thread-safe esc() function with a local buffer 2016-02-09 23:12:33 +01:00
Andrea Mazzoleni
a37d3439b4 Restore the -D, --force-device option to ignore the same device error 2016-02-09 19:20:24 +01:00
Andrea Mazzoleni
29ed19174f Cleanup pthread usage
No functional change.
2016-02-06 15:08:11 +01:00
Andrea Mazzoleni
104f8b065e Be more explicit if smart/down is not supported 2016-02-06 10:24:29 +01:00
Andrea Mazzoleni
94bfe2e4ae Clarify graph legend 2016-02-05 20:20:15 +01:00
Andrea Mazzoleni
c2079947e5 Remove a false positive warning for Coverity Scan
It cannot see that if file is != 0 and handle->file == file,
also handle->file is != 0.
2016-02-03 19:58:54 +01:00
Andrea Mazzoleni
4cfe733302 Fix the 'touch' command in Windows 2016-02-02 18:55:47 +01:00
Andrea Mazzoleni
6e48ca8cd1 Output stats only when they are computed 2016-02-02 08:19:09 +01:00
Andrea Mazzoleni
62a760a42b Change two wrong block_off_t types 2016-01-31 18:58:02 +01:00
Andrea Mazzoleni
4a418e158a Add time stats also for thread scheduling 2016-01-31 18:08:39 +01:00
Andrea Mazzoleni
c1993e0abb Update AUTHORS 2016-01-30 22:42:04 +01:00
Andrea Mazzoleni
3040099e48 Optimizes console writes for Windows 2016-01-30 09:17:30 +01:00
Andrea Mazzoleni
6da3469fe7 When clearing the screen move the cursor to the top 2016-01-30 09:17:10 +01:00
Andrea Mazzoleni
bf1f7dda7c Avoid warnings for printf usage without format 2016-01-28 19:32:31 +01:00
Andrea Mazzoleni
895eb6b36c Add the new --test-io-stats to show graphs, and reformat them 2016-01-27 22:26:25 +01:00
Andrea Mazzoleni
34d02d4b41 Group print functions 2016-01-27 22:25:02 +01:00
Andrea Mazzoleni
11a8e301f4 Clear the screen before printing stats 2016-01-27 22:24:59 +01:00
Andrea Mazzoleni
252d613eae Print stats of the number of cached blocks 2016-01-27 20:37:31 +01:00
Andrea Mazzoleni
5f8fd36b45 Use progress values for the usage graph 2016-01-27 18:19:31 +01:00
Andrea Mazzoleni
489613097c In the usage vector store also the latest measure
This reduces the number of past measure by one.
2016-01-26 23:57:30 +01:00
Andrea Mazzoleni
846c02e2c1 Preliminary usage graph 2016-01-26 23:47:59 +01:00
Andrea Mazzoleni
3e2420489a Update TODO and HISTORY
Some more formatting fixes.
2016-01-25 23:07:20 +01:00
Andrea Mazzoleni
434e5c5a8f Update HISTORY
Reformatted to lines to be 72 chars long.
2016-01-25 22:42:26 +01:00
Andrea Mazzoleni
a7772a6c83 Update TODO 2016-01-25 20:50:39 +01:00
Andrea Mazzoleni
6f004d13ce Allow -d, --disk in 'up' and 'down' 2016-01-23 15:31:30 +01:00
Andrea Mazzoleni
affc60e256 Allocate only the minimal necessary waiting vector
This is more clear to understand.
2016-01-21 18:52:45 +01:00
Andrea Mazzoleni
377352e64f Default to 8 MiB of blocks for the IO cache 2016-01-20 22:03:14 +01:00
Andrea Mazzoleni
e2c4399e28 More precise disk usage time
When we wait, we now count the time for all the waiting disks,
and not only for the first one that finish.
2016-01-20 21:30:00 +01:00
Andrea Mazzoleni
f61f9192b0 Update HISTORY 2016-01-18 23:02:02 +01:00
Andrea Mazzoleni
2156c864b7 Remove the shadow 'index' variable with older gcc 2016-01-18 22:58:00 +01:00
Andrea Mazzoleni
07cf09e89c Update TODO 2016-01-18 22:40:18 +01:00
Andrea Mazzoleni
68e4a053cd Remove some warnings without optimizations 2016-01-18 22:39:39 +01:00