Ivan Andreev
24de896df2
build: apply gofmt from golang 1.17
2021-09-09 20:43:59 +03:00
Nick Craig-Wood
5e038a5e1e
lib/file: retry preallocate on EINTR
...
Before this change, sometimes preallocate failed with EINTR which
rclone ignored.
Retrying the syscall is the correct thing to do and seems to make
preallocate 100% reliable.
2021-03-15 19:22:07 +00:00
Nick Craig-Wood
b9bf91c510
lib/file: don't run preallocate concurrently
...
This seems to cause file systems to get the amount of free space
wrong.
2021-03-15 19:22:06 +00:00
Nick Craig-Wood
40b58d59ad
lib/file: make pre-allocate detect disk full errors and return them
2021-03-15 19:22:06 +00:00
Nick Craig-Wood
5cb2a2fa3c
lib/file: add Implemented constants
2020-05-19 10:15:20 +01:00
Nick Craig-Wood
36d2c46bcf
local: factor PreAllocate and SetSparse to lib/file
2020-04-19 15:18:49 +01:00