moby/volume/service
Brian Goff c24c37bd8a
Restore active mount counts on live-restore
When live-restoring a container the volume driver needs be notified that
there is an active mount for the volume.
Before this change the count is zero until the container stops and the
uint64 overflows pretty much making it so the volume can never be
removed until another daemon restart.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 647c2a6cdd)
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-28 09:45:07 +02:00
..
opts Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
by.go Extract volume interaction to a volumes service 2018-05-25 14:21:07 -04:00
convert.go Use GetBoolOrDefault to remove duplicated invalidFilter usages 2023-01-26 16:28:53 +01:00
convert_test.go volume/service: inline filters in tests 2023-04-25 15:17:25 +02:00
db.go boltdb/bolt --> go.etcd.io/bbolt 2018-09-13 12:38:39 -07:00
db_test.go fix unclosed file-handles in tests 2022-05-31 21:53:38 +02:00
default_driver.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
default_driver_stubs.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
errors.go Use GetBoolOrDefault to remove duplicated invalidFilter usages 2023-01-26 16:28:53 +01:00
restore.go boltdb/bolt --> go.etcd.io/bbolt 2018-09-13 12:38:39 -07:00
restore_test.go fix unclosed file-handles in tests 2022-05-31 21:53:38 +02:00
service.go Restore active mount counts on live-restore 2023-06-28 09:45:07 +02:00
service_linux_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
service_test.go Volume prune: only prune anonymous volumes by default 2022-10-04 20:55:13 +00:00
store.go Restore active mount counts on live-restore 2023-06-28 09:45:07 +02:00
store_test.go fix unclosed file-handles in tests 2022-05-31 21:53:38 +02:00
store_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
store_windows.go Extract volume interaction to a volumes service 2018-05-25 14:21:07 -04:00