rclone/backend/local
Nick Craig-Wood f29c6049fc local: preallocate files on Windows to reduce fragmentation #2469
Before this change on Windows, files copied locally could become
heavily fragmented (300+ fragments for maybe 100 MB), no matter how
much contiguous free space there was (even if it's over 1TiB). This
can needlessly yet severely adversely affect performance on hard
disks.

This changes uses NtSetInformationFile to pre-allocate the space to
avoid this.

It does nothing on other OSes other than Windows.
2018-09-19 16:04:57 +01:00
..
about_unix.go about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
about_windows.go about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
local.go local: preallocate files on Windows to reduce fragmentation #2469 2018-09-19 16:04:57 +01:00
local_internal_test.go Implement new backend config system 2018-07-16 21:20:47 +01:00
local_test.go Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
preallocate_other.go local: preallocate files on Windows to reduce fragmentation #2469 2018-09-19 16:04:57 +01:00
preallocate_windows.go local: preallocate files on Windows to reduce fragmentation #2469 2018-09-19 16:04:57 +01:00
read_device_other.go Implement new backend config system 2018-07-16 21:20:47 +01:00
read_device_unix.go Implement new backend config system 2018-07-16 21:20:47 +01:00
remove_other.go local: retry remove on Windows sharing violation error #2202 2018-04-07 17:36:26 +01:00
remove_test.go local: retry remove on Windows sharing violation error #2202 2018-04-07 17:36:26 +01:00
remove_windows.go local: retry remove on Windows sharing violation error #2202 2018-04-07 17:36:26 +01:00
tests_test.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00