rclone/fs/accounting
Nick Craig-Wood cf9b973fe4 accounting: fix locking in Transfer to avoid deadlock with --progress
Before this change, using -P occasionally deadlocked on the Transfer
mutex when Transfer.Done() was called with a non nil error and the
StatsInfo mutex since they mutually call each other.

This was fixed by making sure that the Transfer mutex is always
released before calling any StatsInfo methods.

This improves on: 6f87267b34

Fixes #3505
2019-09-06 10:00:44 +01:00
..
accounting_other.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
accounting_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
accounting_unix.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
accounting.go operations: fix accounting for server side copies 2019-09-02 09:26:33 +01:00
inprogress.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
stats_groups.go accounting: add call to clear stats 2019-08-02 16:56:19 +01:00
stats_test.go build: apply gofmt from go1.13 to change case of number literals 2019-09-05 13:59:06 +01:00
stats.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
stringset.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
token_bucket_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
token_bucket.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
transfer.go accounting: fix locking in Transfer to avoid deadlock with --progress 2019-09-06 10:00:44 +01:00