Commit Graph

188 Commits

Author SHA1 Message Date
Martin
b8ec8b91d5 Amalgamized miniz into two files 2016-11-25 16:01:36 +01:00
Martin Raiber
377fcec3b9 Updated MiniZ 2016-11-15 22:36:05 +01:00
Martin
04044ce550 Fixup: Fall back to zeroing if hole punching isn't available in raw cow image file 2016-11-10 18:58:10 +01:00
Martin
aa3fa983ec Fixup: Fall back to zeroing if hole punching isn't available in raw cow image file 2016-11-10 18:56:06 +01:00
Martin
e8176a0edb Fall back to zeroing if hole punching isn't available in raw cow image file 2016-11-09 17:12:49 +01:00
Martin
bad786bf18 Fixed a few coverity issues 2016-10-24 02:29:54 +02:00
Martin
7c4fdd7359 Print more error codes in error messages
(cherry picked from commit 9ae4f4d832bbd327a023ae70af870661c9069337)
2016-10-22 22:26:56 +02:00
Martin
6a51f215e0 Allow selection of vhd files from multiple directories
(cherry picked from commit 1275f7eed7)
2016-10-19 17:52:18 +02:00
Martin
c592899628 Improve logging on VHD file read failures 2016-10-08 11:07:56 +02:00
Martin
cf24be6ac2 Proper error handling when VHD file gets too large (>2TB) 2016-10-05 12:12:48 +02:00
Martin
1b5b838d57 Do not increment nwait if sleep was interrupted 2016-09-23 16:49:25 +02:00
Martin Raiber
9f88603268 Fix: Limit number of blocks queued by time spent queuing 2016-09-09 01:32:44 +02:00
Martin Raiber
d7dce897dc Limit number of blocks queued by time spent queuing 2016-09-09 01:31:46 +02:00
Martin Raiber
9c2148e400 Improved image backup read error handling 2016-08-26 01:22:59 +02:00
Martin Raiber
429a2ad395 Fix build issues 2016-08-24 20:32:40 +02:00
Martin Raiber
dcba5c7a9a Performance: Use overlapped IO for image backups 2016-08-24 20:25:35 +02:00
Martin
3f462b8477 Revert "Fix page file exclusion"
This reverts commit 62b2b8fb4e.
2016-08-21 22:39:14 +02:00
Martin
62b2b8fb4e Fix page file exclusion 2016-08-20 18:45:53 +02:00
Martin
e6deace398 Preallocate space for full image if possible 2016-08-12 02:14:03 +02:00
Martin
7bbfa311d5 Fix build issue 2016-08-10 14:07:35 +02:00
Martin
d4752b67ed Fix relative VHD file locator for new naming scheme 2016-08-08 00:38:24 +02:00
Martin
764f8e1ae1 Set errno 2016-07-08 23:16:58 +02:00
Martin
ee98a7a65f Preserve errno 2016-07-08 23:02:53 +02:00
Martin
8d90c9301f Config test for fallocate64 2016-07-06 13:30:22 +02:00
Martin
7482f8e28b Look in legacy path for VHD file 2016-07-05 01:07:19 +02:00
Martin
200f39116d Transfer block if block has bitmap changes 2016-06-25 15:23:27 +02:00
Martin
44f9ae62df Fix some typos and spellings 2016-06-13 16:19:05 +02:00
Martin
89d6cff386 Fix race condition in read-ahead 2016-06-07 22:50:46 +02:00
Martin
f76a0a8639 Sync backup storage file system before marking file backup as complete 2016-06-01 00:14:16 +02:00
Martin
01ce93b36f Do not try to trim beyond drive size if drive size is not aligned to ntfs block size 2016-05-29 14:09:09 +02:00
Martin
6ceba52fdf Make hash file match incremental VHD file content and make synthetic full VHD files mountable on Windows 2016-05-28 01:11:13 +02:00
Martin
f36bd79908 Fill in whole VHD block when making a VHD file full 2016-05-26 18:59:38 +02:00
Martin Raiber
5a4dfe8e87 Make image hashes match image file accurately 2016-05-23 21:51:46 +02:00
Martin
618691e93d Trim changed hash blocks during CoW-raw image backup 2016-05-23 02:06:14 +02:00
Martin Raiber
c2cbec48f7 Fix fibmap test tool 2016-05-23 00:58:14 +02:00
Martin
230dea58f1 Do not compile function if FIBMAP is missing 2016-05-20 23:31:47 +02:00
Martin
2176164b83 Less includes 2016-05-20 23:19:32 +02:00
Martin
8e9d6219db Align trimming to hash block size 2016-05-20 17:43:48 +02:00
Martin Raiber
807d248947 Fix: fibmap test tool 2016-05-20 16:55:44 +02:00
Martin
86ac79946d fibmap test tool 2016-05-20 16:12:50 +02:00
Martin
3ff520c2a4 Manually resolve relative paths to work around Windows path limit 2016-05-10 14:49:53 +02:00
Martin
189321a346 Define fallocate constants if not defined 2016-03-31 16:29:34 +02:00
Martin
109c272908 Exclude swapfile.sys from image 2016-03-31 13:22:54 +02:00
Martin
e3c903c25e Fixed FreeBSD build issues 2016-02-06 21:48:30 +01:00
Martin Raiber
d59e9f10eb Only trim cowfile ranges which contain data 2016-01-28 18:43:18 +01:00
Martin Raiber
c5db97564a Derive IReadOnlyBitmap from IObject 2016-01-28 15:20:06 +01:00
Martin
e39f4dfd21 Thread-safe file reading and writing
(cherry picked from commit 3ebcf7d0bb02c8bd3a42398fe5f4b574dd179fe8)

Conflicts:
	Interface/File.h
	file.h
	file_linux.cpp
	file_win.cpp
	fsimageplugin/CompressedFile.cpp
	fsimageplugin/CompressedFile.h
	fsimageplugin/FileWrapper.cpp
	fsimageplugin/FileWrapper.h
	fsimageplugin/vhdfile.cpp
	fsimageplugin/vhdfile.h
2016-01-25 13:00:22 +01:00
Martin
6cc881d677 Get file size before hashing and only read file till that size 2016-01-20 23:07:05 +01:00
Martin
a15331dea5 Background (io-) priority implementation for Linux 2016-01-18 15:43:57 +01:00
Martin
b3903cc1c4 Checkpoint files.db in separate thread and give all threads nice names 2016-01-15 16:19:23 +01:00