[PATCH 0/2] Filesystem limits for containers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
the following two patches are a first stab at filesystem limits for
containers. They're not ment for detailed review just to start the
discussion. With these two patches space and inode limits in openvz
containers are printed in the domain config as:

<filesystem type='template' accessmode='passthrough'>
      <source name='debian'/>
      <target dir='/'/>
      <hardlimit>1153024</hardlimit>
      <softlimit>1048576</softlimit>
      <inodes_hardlimit>220000</inodes_hardlimit>
      <inodes_softlimit>200000</inodes_softlimit>
</filesystem>

Does this look o.k.? If so I'd cook up the schema updates and more
parsing code. Other container solutions like lxc might have similar
needs.
Cheers,
 -- Guido

Guido Günther (2):
  domain_conf: add filesystem limits to virDomainFSDef
  openvz; support file system quota reporting

 src/conf/domain_conf.c   |   15 ++++++
 src/conf/domain_conf.h   |    4 ++
 src/openvz/openvz_conf.c |  114 +++++++++++++++++++++++++++++-----------------
 3 files changed, 92 insertions(+), 41 deletions(-)

-- 
1.7.10

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]