summaryrefslogtreecommitdiff
path: root/libpod/volume.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-28 10:23:58 -0400
committerGitHub <noreply@github.com>2022-04-28 10:23:58 -0400
commitd0b96a541dc69e98d1923f8b297876f787bdb2db (patch)
tree77e4100a13bbb2a8f8149cee35c842a91b250c74 /libpod/volume.go
parent2b8cafc0671fbbd155770f044b8216f050877192 (diff)
parent91ead15283200feb9db8054a26d322fbfdc3fa59 (diff)
downloadpodman-d0b96a541dc69e98d1923f8b297876f787bdb2db.tar.gz
podman-d0b96a541dc69e98d1923f8b297876f787bdb2db.tar.bz2
podman-d0b96a541dc69e98d1923f8b297876f787bdb2db.zip
Merge pull request #14051 from giuseppe/volume-create-noquota-option
volume: add new option -o o=noquota
Diffstat (limited to 'libpod/volume.go')
-rw-r--r--libpod/volume.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/volume.go b/libpod/volume.go
index bffafdc15..ab461a37f 100644
--- a/libpod/volume.go
+++ b/libpod/volume.go
@@ -52,6 +52,9 @@ type VolumeConfig struct {
Size uint64 `json:"size"`
// Inodes maximum of the volume.
Inodes uint64 `json:"inodes"`
+ // DisableQuota indicates that the volume should completely disable using any
+ // quota tracking.
+ DisableQuota bool `json:"disableQuota,omitempty"`
}
// VolumeState holds the volume's mutable state.