Commit graph

1569 commits

Author SHA1 Message Date
Andrea Mazzoleni
f564e9b91a Preliminary support for multiple parity files
This allows to split parity in different partitions.
2016-05-15 14:27:33 +02:00
Andrea Mazzoleni
1ce7b61f29 Convert null devices as first operation
This ensure that all the usages are with the
real device number.
Also avoid to resolve device in spinup to suppor
filesystem that cannot be resolved, like ZFS.
2016-04-29 20:53:01 +02:00
Andrea Mazzoleni
a0307ca29d Detect device also from the major:minor of the mount point
This is required for btrfs in new distributions, because
the major:minor reported in /proc/self/mountinfo doesn't
match the one of the mount point.
2016-04-28 22:27:57 +02:00
Andrea Mazzoleni
6053096862 Extend the split function to support multiple delimiters 2016-04-26 21:26:15 +02:00
Andrea Mazzoleni
4cc1109444 Add support for null device numbers
They are resolved using the mountinfo interface and
mapping them to the block device listed there.
2016-04-23 16:24:26 +02:00
Andrea Mazzoleni
cca81e7ff6 Fix some typos in comments 2016-04-20 22:12:16 +02:00
Andrea Mazzoleni
503bf8aada Update TODO 2016-04-11 22:03:34 +02:00
Andrea Mazzoleni
ea17b4e421 Update TODO 2016-04-11 21:52:37 +02:00
Andrea Mazzoleni
e760df8877 Reset all fields of the Windows overlapped struct
To be 100% compliant with MSDN.
2016-04-10 23:01:42 +02:00
Andrea Mazzoleni
e77c3742ac Small clearification comment 2016-04-10 22:56:28 +02:00
Andrea Mazzoleni
36a4d24333 Source code beautification
Done with uncrustify.
2016-04-10 22:46:09 +02:00
Andrea Mazzoleni
be84bbffe4 Update TODO and HISTORY 2016-04-10 19:46:28 +02:00
Andrea Mazzoleni
0c624dd431 Update the manual for the new hashsize option 2016-04-10 19:41:56 +02:00
Andrea Mazzoleni
5bf030c793 Disable some operations affected by hash collision
This only if we are working with a reduced hash length.
2016-04-10 19:13:08 +02:00
Andrea Mazzoleni
ab7d4e896c Support a configurable hash size 2016-04-07 22:37:11 +02:00
Andrea Mazzoleni
5b06549ee3 Make the hash size configurable
Only at source code level.
2016-04-07 21:39:02 +02:00
Andrea Mazzoleni
7c910af3f9 Update TODO 2016-04-06 22:57:01 +02:00
Andrea Mazzoleni
7d5182acb7 Update HISTORY 2016-04-04 20:14:11 +02:00
Andrea Mazzoleni
8e2cb48ea7 Add alternatives for RtlGenRandom 2016-04-01 22:12:47 +02:00
Andrea Mazzoleni
10dba1356d Add tests for the monothread mode 2016-03-19 23:47:19 +01:00
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