"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
union: fix eplus policy to select correct entry for existing files #6071
Nick Craig-Wood29e37749b3f8
diff --git a/backend/union/policy/eplus.go b/backend/union/policy/eplus.goindex d1aad2c9e..57f97c231 100644--- a/backend/union/policy/eplus.go+++ b/backend/union/policy/eplus.go@@ -42,7 +42,7 @@ func (p *EpLus) lusEntries(entries []upstream.Entry) (upstream.Entry, error) {var minUsedSpace int64 = math.MaxInt64var lusEntry upstream.Entryfor _, e := range entries {- space, err := e.UpstreamFs().GetFreeSpace()+ space, err := e.UpstreamFs().GetUsedSpace()if err != nil {fs.LogPrintf(fs.LogLevelNotice, nil,"Used Space is not supported for upstream %s, treating as 0", e.UpstreamFs().Name())