]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage/ZFSPoolPlugin.pm
When resizing a ZFS volume, align size to 1M
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 9 Dec 2019 07:25:53 +0000 (08:25 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Dec 2019 13:07:50 +0000 (14:07 +0100)
commitd3e3e5d6bd0864e8f1883aa497720879dacaab20
treee9caadc38e74e965eb86eae93a508ac69d66cd37
parent3ea55f0532944b82b01ba1aae3c77431a9a0cb82
When resizing a ZFS volume, align size to 1M

The size is required to be a multiple of volblocksize. Make sure
that the requirement is always met, so ZFS won't complain when we do
things like 'qm resize 102 scsi1 +0.01G'.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/Storage/ZFSPoolPlugin.pm