diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-08-02 10:19:58 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-08-02 10:32:45 -0400 |
commit | c0952c73341321b309174a4e83e2e74d509b98a8 (patch) | |
tree | 3fb791087398345300156da8fb3f42664422f605 /libpod/volume.go | |
parent | 0e2a7be0ec825449a1b95bd5df13e2519c67dcb4 (diff) | |
download | podman-c0952c73341321b309174a4e83e2e74d509b98a8.tar.gz podman-c0952c73341321b309174a4e83e2e74d509b98a8.tar.bz2 podman-c0952c73341321b309174a4e83e2e74d509b98a8.zip |
Support size and inode options on builtin volumes
[NO TESTS NEEDED] Since it is difficult to setup xfs quota
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1982164
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/volume.go')
-rw-r--r-- | libpod/volume.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/volume.go b/libpod/volume.go index 506c45b5a..8f3dc4fcc 100644 --- a/libpod/volume.go +++ b/libpod/volume.go @@ -49,6 +49,10 @@ type VolumeConfig struct { UID int `json:"uid"` // GID the volume will be created as. GID int `json:"gid"` + // Size maximum of the volume. + Size uint64 `json:"size"` + // Inodes maximum of the volume. + Inodes uint64 `json:"inodes"` } // VolumeState holds the volume's mutable state. |