"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
vfs: fix spurious error "vfs cache: failed to _ensure cache EOF"
Nick Craig-Wood27b9ae4fc38d
diff --git a/vfs/vfscache/item.go b/vfs/vfscache/item.goindex 2f3749609..1606237ff 100644--- a/vfs/vfscache/item.go+++ b/vfs/vfscache/item.go@@ -1158,7 +1158,7 @@ func (item *Item) ReadAt(b []byte, off int64) (n int, err error) {item.preAccess()n, err = item.readAt(b, off)item.postAccess()- if err == nil {+ if err == nil || err == io.EOF {break}fs.Errorf(item.name, "vfs cache: failed to _ensure cache %v", err)