rclone/vfs
Nick Craig-Wood c19e675ca6 vfs: unify locking for RWFileHandle.openPending,.close and File.Delete #2141
Without this fix the cached file can be removed as the file is being
uploaded or downloaded.  This can cause the directory listings to
become inconsistent (this issue) or data loss (if a retry was needed
in the Copy).

Remove file needs to be excluded from running at the same time as both
openPending and close so it makes sense to unify the locking between
all 3.
2018-03-15 20:49:07 +00:00
..
vfsflags Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
cache_test.go vfs: clean path names before using them in the cache 2018-02-26 16:59:14 +00:00
cache.go vfs: clean path names before using them in the cache 2018-02-26 16:59:14 +00:00
dir_handle_test.go vfs: add tests and subsequent fixes 2017-11-04 10:24:10 +00:00
dir_handle.go vfs: factor duplicated Open code into vfs from mount/cmount 2017-11-03 13:00:00 +00:00
dir_test.go fs: add ChangeNotify and backend support for it (#2094) 2018-03-08 22:03:34 +02:00
dir.go fs: add ChangeNotify and backend support for it (#2094) 2018-03-08 22:03:34 +02:00
errors_new.go vfs: add ECLOSED and tidy errors 2017-11-04 10:24:10 +00:00
errors_old.go vfs: add ECLOSED and tidy errors 2017-11-04 10:24:10 +00:00
errors_test.go vfs: add tests and subsequent fixes 2017-11-04 10:24:10 +00:00
errors.go vfs: Make OpenFile and friends return EINVAL if O_RDONLY and O_TRUNC 2018-02-26 17:04:27 +00:00
file_test.go vfs: make specialized file Open functions private 2018-01-19 11:46:01 +00:00
file.go vfs: unify locking for RWFileHandle.openPending,.close and File.Delete #2141 2018-03-15 20:49:07 +00:00
help.go vfs: fix docs - fixes #2067 2018-02-12 11:29:32 +00:00
make_open_tests.go vfs: make sure all 96 combinations of flags for Open work 2017-11-28 20:39:23 +00:00
open_test.go vfs: Make OpenFile and friends return EINVAL if O_RDONLY and O_TRUNC 2018-02-26 17:04:27 +00:00
read_test.go vfs: add ECLOSED and tidy errors 2017-11-04 10:24:10 +00:00
read_write_test.go vfs: fix applying modtime for an open Write Handle 2018-03-06 21:58:11 +00:00
read_write.go vfs: unify locking for RWFileHandle.openPending,.close and File.Delete #2141 2018-03-15 20:49:07 +00:00
read.go vfs: don't cache the object in read and read/write handles 2018-03-04 11:20:22 +00:00
vfs_test.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00
vfs.go fs: add ChangeNotify and backend support for it (#2094) 2018-03-08 22:03:34 +02:00
write_test.go vfs: fix applying modtime for an open Write Handle 2018-03-06 21:58:11 +00:00
write.go vfs: fix applying modtime for an open Write Handle 2018-03-06 21:58:11 +00:00