Commit Graph

246 Commits

Author SHA1 Message Date
Martin
acd4a31cf7 Improved thread-safety of piped file transfer 2016-01-25 13:06:08 +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
5b41d07f91 Backup and restore BSD flags 2016-01-25 00:16:20 +01:00
Martin
e9efef9b53 Show command line process bar during restore 2016-01-24 21:09:28 +01:00
Martin
06520e214f Fix pipe file seeking 2016-01-22 16:58:58 +01:00
Martin
3e6f21ff02 Fixed miscellaneous bugs 2016-01-21 23:50:14 +01:00
Martin
f91b9909f7 Fixed root share mapping 2016-01-21 16:24:08 +01:00
Martin
108711a57a Show download speed and ETA 2016-01-21 00:45:13 +01:00
Martin
ddee95e4e0 Flush piped file if there was a read timeout 2016-01-20 23:53:20 +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
04dc0aa18d Build Linux client installer 2016-01-20 12:44:22 +01:00
Martin
dff855325e Build Linux client installer 2016-01-20 01:47:08 +01:00
Martin
b57d719d58 Mac OS X client update 2016-01-18 21:53:51 +01:00
Martin
a15331dea5 Background (io-) priority implementation for Linux 2016-01-18 15:43:57 +01:00
Martin
58685b43fc Fixed unix metadata transfer bug 2016-01-17 17:25:41 +01:00
Martin
8af6385058 Set SO_NOSIGPIPE on sockets on Mac OS X 2016-01-17 17:25:22 +01:00
Martin
ad777240ce Refactored pipe file transfer buffer filling 2016-01-17 17:24:47 +01:00
Martin
1ad155fee0 Max OS X client 2016-01-16 18:12:37 +01:00
Martin
b3903cc1c4 Checkpoint files.db in separate thread and give all threads nice names 2016-01-15 16:19:23 +01:00
Martin
e631cbb293 Prevent double delete 2016-01-15 01:12:47 +01:00
Martin
ddbeefcfa0 Flag to not share hashes between virtual clients 2016-01-15 00:22:45 +01:00
Martin
46938b1cb0 Free chunked transferred files 2016-01-14 23:32:11 +01:00
Martin
d47668fb5f Prevent handle leaks. Get stderr when snapshotting/removing snapshot in backup hook 2016-01-14 20:59:46 +01:00
Martin
b9ed974904 Enabled assertions in release build 2016-01-13 17:31:37 +01:00
Martin
3af3520d96 Multiple processes in client interface 2016-01-12 19:36:32 +01:00
Martin
60e77964ad + Linux sparse file support - some bugs 2016-01-11 21:11:14 +01:00
Martin
ad8d4ec7ef Fix: Initialize pipe sessions 2016-01-11 00:54:53 +01:00
Martin
95e76550cd Sparse file handling (TODO: Linux) 2016-01-11 00:29:46 +01:00
Martin
b5f5497bf9 Fix Linux link issue 2016-01-08 18:20:29 +01:00
Martin
d0abcf253a Do not corrupt metadata file if file cannot be opened to read metadata 2016-01-08 18:15:31 +01:00
Martin
215a220327 Timeout reading from streamed file after 120s 2016-01-08 16:27:02 +01:00
Martin
830a32fc40 Log metadata_id 2016-01-07 18:41:23 +01:00
Martin
6e95a2cfc6 Fixed single file restore 2016-01-07 16:35:00 +01:00
Martin
85256e448c Open symlink itself not symlink target on Windows 2016-01-07 02:20:21 +01:00
Martin
b88999e8b7 Prevent multi-threaded usage of CompressedPipe2 and InternetServicePipe2 2016-01-06 20:52:43 +01:00
Martin
24f128cc25 Correctly shut down chunked script output transfers 2016-01-06 17:19:40 +01:00
Martin
4c5601f689 Fix race condition between PipeFile removal and usage 2016-01-06 14:35:10 +01:00
Martin
772b457c73 Wait for metadata transfer to finish before removing shadow copy 2016-01-06 00:24:18 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin Raiber
d511420405 Build with Visual Studio 2015 2015-12-26 15:43:35 +01:00
Martin Raiber
c7ea511e63 Switched to Visual Studio 2015; Removed boost dependency on Windows 2015-12-23 18:41:50 +01:00
Martin
a5fce562cb Faster removal of PipeSession to prevent timeouts 2015-12-22 14:52:04 +01:00
Martin
1f48234688 Fixed restore 2015-12-21 17:28:43 +01:00
Martin
7c71291555 Fixed incremental script download and new clientlist filename scheme 2015-12-20 20:52:12 +01:00
Martin
9e54628380 Fixed some bugs 2015-12-20 02:19:57 +01:00
Martin
4da3f08927 End-to-end checksumming of script outputs and script error handling improvement 2015-12-19 23:40:41 +01:00
Martin
07e704156d Added checksums to metadata and improved partial metadata handling 2015-12-19 18:01:21 +01:00
Martin
7cb5d0678a Made Linux restore working 2015-12-18 16:58:50 +01:00
Martin
739e559dc6 Fixed metadata heartbeat 2015-12-15 21:23:09 +01:00
Martin
3cf1d3e41c Fixed symlink handling 2015-12-15 16:09:36 +01:00