Commit Graph

133 Commits

Author SHA1 Message Date
Martin
e64902a921 Fix 64bit types on FreeBSD
(cherry picked from commit 6b50931657)
2018-06-01 10:52:23 +02:00
Martin
db11881a4c Always use 64bit fsblkcnt_t
(cherry picked from commit 6e41d07fb77be63bb33519b72fb1ce6f17de5c91)
2018-04-07 18:45:56 +02:00
Martin
e563e548e8 Fix reflink detection and image backup with reflink 2018-04-02 01:39:13 +02:00
Martin
dcc0495fad Reset errno if stat fails
(cherry picked from commit 1c4dd66f4c4697f9111a1a8fb96a336b46ac866e)
2018-02-17 19:36:22 +01:00
Martin
9818391f1c Add sepecial file info 2017-10-18 23:10:17 +02:00
Martin
3e0e610eb5 Fix build on non-Linux 2017-06-29 18:40:19 +02:00
Martin Raiber
0a05aef3df Merge branch 'dev' of ssh://192.168.0.40:/home/git/urbackup_backend into dev 2017-06-16 12:55:25 +02:00
Martin Raiber
7e96dfeca5 Prevent total/free space 64bit overflow
(cherry picked from commit a422004e07b67b0d5c8c9188bd449d066b058b12)
2017-06-16 12:52:45 +02:00
Martin
63c7f9449e More prio levels
(cherry picked from commit b9ef0c555efc5020cf8b6a7f4256a6522521176b)

# Conflicts:
#	urbackupcommon/os_functions.h
#	urbackupcommon/os_functions_win.cpp
2017-06-06 16:27:46 +02:00
Martin
ae615bd4a3 Fix utimes usage 2017-02-19 16:46:05 +01:00
Martin
6c0b860d58 Handle utimensat not being available 2017-02-18 15:10:09 +01:00
Martin
8ea5c588fc Open path read only for syncfs
(cherry picked from commit b68296362ee08d4da75f56ee7f68dac2198ebd49)
2017-01-24 15:13:05 +01:00
Martin
30cda67ab7 Reset CPU priority as well... 2016-12-12 23:27:20 +01:00
Martin
37192e7251 Reset CPU priority as well... 2016-12-12 23:24:37 +01:00
Martin
214b3936ee Reset IO priority of new threads on Linux 2016-12-12 23:20:26 +01:00
Martin
b1280039d3 Fix setting thread priority for the whole process 2016-12-12 23:10:20 +01:00
Martin
065c35b3b6 Assert that thread priorities are reset correctly 2016-12-12 22:49:55 +01:00
Martin
aaa796b25c Do not prevent usn from going negative anymore 2016-12-12 16:20:03 +01:00
Martin
929d17af30 Fix setting IO prio with IOPRIO_CLASS_NONE 2016-12-01 14:30:00 +01:00
Martin
b784034c32 Fix increasing priority on Linux
(cherry picked from commit 205886567358d52b7cfcebbc1c8de51eacba6544)
2016-10-08 17:19:19 +02:00
Martin
7634b4f6d2 Improve symlink file deletion 2016-10-05 15:41:47 +02:00
Martin
4ab8aef1c5 Prioritize web interface requests
(cherry picked from commit 666f5b449b5505796a04ccd0228afd0986f40570)

# Conflicts:
#	urbackupcommon/os_functions.h
#	urbackupcommon/os_functions_win.cpp
2016-10-04 13:38:36 +02:00
Martin
11c8fa8aa6 Fix symbolic link to file deletion on Windows 2016-09-29 11:35:06 +02:00
Martin Raiber
f7d45e0075 Improved error logging 2016-09-04 09:52:53 +02:00
Martin Raiber
9c2148e400 Improved image backup read error handling 2016-08-26 01:22:59 +02:00
Martin
13362a5871 Fix: Propagate error in copy_file and make os_get_symlink_target more efficient 2016-07-26 03:13:36 +02:00
Martin
c700f77822 Propagate error in copy_file and make os_get_symlink_target more efficient 2016-07-26 03:07:54 +02:00
Martin
e5a6f2cf8c Live storage migration 2016-07-20 21:20:30 +02:00
Martin
76cdf67413 Check for syncfs and posix_spawn 2016-06-11 15:29:09 +02:00
Martin
013bd6c0b9 Check for syncfs and posix_spawn 2016-06-11 15:23:59 +02:00
Martin
d756df13f1 Fix compile 2016-06-01 00:30:05 +02:00
Martin
3c2ede5a49 Do not leak fd 2016-06-01 00:25:24 +02:00
Martin
f76a0a8639 Sync backup storage file system before marking file backup as complete 2016-06-01 00:14:16 +02:00
Martin
68b80f81fd Fix os_set_file_time for FreeBSD directories 2016-05-05 13:08:01 +02:00
Martin
400093c134 Trim OS error message 2016-04-01 22:43:15 +02:00
Martin
2bc02ff93e Log system error code 2016-03-31 16:15:58 +02:00
Martin
ca9ecd708d Show database backup progress 2016-02-21 13:51:25 +01:00
Martin
e3c903c25e Fixed FreeBSD build issues 2016-02-06 21:48:30 +01:00
Martin
a62be038ec Fixed name clash 2016-02-06 20:59:10 +01:00
Martin
dff855325e Build Linux client installer 2016-01-20 01:47:08 +01:00
Martin
a15331dea5 Background (io-) priority implementation for Linux 2016-01-18 15:43:57 +01:00
Martin
1ad155fee0 Max OS X client 2016-01-16 18:12:37 +01:00
Martin
b6521dd091 Improved Database locking and backup 2016-01-14 17:38:42 +01:00
Martin Raiber
c7f3dfd0db Correctly delete folder if root is symlink 2016-01-08 02:32:23 +01:00
Martin
7e633bf2b7 Do not descend into symlink subdirs in os_remove_nonempty_dir 2016-01-08 01:49:38 +01:00
Martin
1eaeb5f33f Return correct status from copying file 2016-01-03 16:37:07 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin
5152e386bc Save failed metadata file for further analysis 2015-12-15 20:50:05 +01:00
Martin
8198c634a1 Use utimensat instead of utimes 2015-12-15 16:54:32 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00