commit | 2d210bd4883e9b52cd79f58509c0b6ba8d91146b | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Jul 29 18:30:50 2014 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Jul 29 19:47:53 2014 -0700 |
tree | cd2a50cd031896b7daf15f201630c2042d9943c1 | |
parent | c90b707f96125b8bb1f0b8b482414be653a1c710 [diff] |
vzctl create --diskinodes: check for max ploop size Use the ploop_get_max_size to check if the value of --diskinodes given is too high, and if yes suggest what the maximum value is. Note it requires ploop library 1.12 or greater, but should work with older library, as it checks that the function pointer is non-NULL. Signed-off-by: Kir Kolyshkin <kir@openvz.org>