snapraid/cmdline
Andrea Mazzoleni 501b1d7983 Avoid extra allocation in parity file
After growing the parity file, call an extra ftruncate()
to ensure to cut the file to the exact size, removing any extra
allocation that could result by failed attempts to grow it.
Note that how fallocate() behaves on failures is not really
specified, so it's possible that extra space is allocated.
2016-07-25 21:58:20 +02:00
..
check.c Don't print disk dir in info 2016-05-29 19:23:42 +02:00
device.c Print the probability of failure in the log 2016-05-30 22:44:58 +02:00
dry.c Rename internal esc/quote functions 2016-05-29 18:19:32 +02:00
dup.c Don't print disk dir in info 2016-05-29 19:23:42 +02:00
elem.c Rename chunk to extent 2016-05-23 22:10:05 +02:00
elem.h Don't print disk dir in info 2016-05-29 19:23:42 +02:00
fnmatch.c Add some more warning checks, and fix the ones reported 2015-08-05 09:42:11 +02:00
fnmatch.h Different source organization. 2014-03-23 17:50:27 +01:00
handle.c Preliminary advise support 2016-05-15 14:50:59 +02:00
handle.h Preliminary advise support 2016-05-15 14:50:59 +02:00
import.c Preliminary advise support 2016-05-15 14:50:59 +02:00
import.h Make the hash size configurable 2016-04-07 21:39:02 +02:00
io.c Preliminary advise support 2016-05-15 14:50:59 +02:00
io.h Allow to disable the multithread mode 2016-03-18 18:33:11 +01:00
list.c Don't print disk dir in info 2016-05-29 19:23:42 +02:00
mingw.c Preliminary advise support 2016-05-15 14:50:59 +02:00
mingw.h Preliminary advise support 2016-05-15 14:50:59 +02:00
mkstream.c Source code beautification 2016-04-10 22:46:09 +02:00
mktest.c Refactor locks use in support 2016-01-09 10:25:56 +01:00
murmur3.c Add explicit conversion to unsigned from byte 2016-01-09 10:01:33 +01:00
murmur3test.c Beautifies the code. 2014-09-27 00:32:39 +02:00
parity.c Avoid extra allocation in parity file 2016-07-25 21:58:20 +02:00
parity.h More extensive use of data_off_t 2016-05-18 20:58:41 +02:00
pool.c Rename some shadow variables 2015-10-08 22:33:41 +02:00
portable.h Fix typos in comments 2016-05-23 22:37:18 +02:00
rehash.c Make the hash size configurable 2016-04-07 21:39:02 +02:00
scan.c Don't print disk dir in info 2016-05-29 19:23:42 +02:00
scrub.c Rename internal esc/quote functions 2016-05-29 18:19:32 +02:00
search.c Apply filters also to empty dir 2016-05-15 14:27:35 +02:00
search.h Adjust verbs in comments 2015-10-07 22:07:20 +02:00
selftest.c Source code beautification 2016-04-10 22:46:09 +02:00
snapraid.c Remove unnecessary prefix char in escaping 2016-05-29 18:23:43 +02:00
snapraid.h Different source organization. 2014-03-23 17:50:27 +01:00
speed.c Make the hash size configurable 2016-04-07 21:39:02 +02:00
spooky2.c Source code beautification 2016-04-10 22:46:09 +02:00
spooky2test.c Beautifies the code. 2014-09-27 00:32:39 +02:00
state.c Allow to add and remove new parity split 2016-06-26 00:13:20 +02:00
state.h Add option to skip content write in sync 2016-05-17 23:17:31 +02:00
status.c Rename the 'nano' command to 'touch' 2016-01-18 19:41:04 +01:00
stream.c Fix some misuses of the MiB and MB units 2016-01-16 07:29:00 +01:00
stream.h Fix various typos in comments 2016-01-02 16:52:20 +01:00
support.c Remove compiler warnings in Windows 2016-06-30 21:17:44 +02:00
support.h Remove unnecessary prefix char in escaping 2016-05-29 18:23:43 +02:00
sync.c Don't print disk dir in info 2016-05-29 19:23:42 +02:00
touch.c Don't print disk dir in info 2016-05-29 19:23:42 +02:00
unix.c Fix typos in comments 2016-05-23 22:37:18 +02:00
unix.h Preliminary advise support 2016-05-15 14:50:59 +02:00
util.c Fix typos in comments 2016-05-23 22:37:18 +02:00
util.h Preliminary advise support 2016-05-15 14:50:59 +02:00