1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver
Michal Rostecki 1ec689c4c2 btrfs: Do not disable quota on cleanup
Before this change, cleanup of the btrfs driver (occuring on each daemon
shutdown) resulted in disabling quotas. It was done with an assumption
that quotas can be enabled or disabled on a subvolume level, which is
not true - enabling or disabling quota is always done on a filesystem
level.

That was leading to disabling quota on btrfs filesystems on each daemon
shutdown.

This change fixes that behavior and removes misleading `subvol` prefix
from functions and methods which set up quota (on a filesystem level).

Fixes: #34593
Fixes: 401c8d1767 ("Add disk quota support for btrfs")
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-04-13 16:23:39 +01:00
..
aufs Use real root with 0701 perms 2021-02-02 13:01:25 +01:00
btrfs btrfs: Do not disable quota on cleanup 2021-04-13 16:23:39 +01:00
copy [DEL] remove useless assert 2020-11-09 23:38:45 +08:00
devmapper replace pkg/locker with github.com/moby/locker 2020-09-10 22:15:40 +02:00
fuse-overlayfs Use real root with 0701 perms 2021-02-02 13:01:25 +01:00
graphtest quota: move quota package out of graphdriver 2020-10-05 13:28:25 +00:00
lcow Parse storage-opt in GraphDriver init on Windows 2020-11-10 19:51:46 +11:00
overlay Use real root with 0701 perms 2021-02-02 13:01:25 +01:00
overlay2 archive: do not use overlayWhiteoutConverter for UserNS 2021-03-29 14:47:12 +09:00
overlayutils overlayutils/userxattr.go: add "fast path" for kernel >= 5.11.0 2021-03-11 15:18:59 +09:00
register new storage driver: fuse-overlayfs 2020-02-10 23:48:52 +09:00
vfs Use real root with 0701 perms 2021-02-02 13:01:25 +01:00
windows Parse storage-opt in GraphDriver init on Windows 2020-11-10 19:51:46 +11:00
zfs Use real root with 0701 perms 2021-02-02 13:01:25 +01:00
counter.go graphdriver: Fix RefCounter memory leak 2018-02-09 10:26:06 +08:00
driver.go daemon/graphdriver: normalize comment formatting 2019-11-27 15:43:23 +01:00
driver_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_linux.go Really switch to moby/sys/mount* 2020-03-20 09:46:25 -07:00
driver_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
driver_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fsdiff.go Add layer id to NaiveDiffDriver untar timing log 2018-10-05 16:28:40 -07:00
plugin.go goimports: fix imports 2019-09-18 12:56:54 +02:00
proxy.go Move plugin client creation to the extension point 2018-05-25 15:18:53 -04:00