]> git.proxmox.com Git - qemu-server.git/commit
add detect_zeroes option
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 17 Dec 2015 13:58:12 +0000 (14:58 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 18 Dec 2015 08:19:18 +0000 (09:19 +0100)
commit6e47c3b4b77a5eaca049f74a99d4d9803e4492a3
tree2e55669f09d2997fbec2825760a9ee084ef1faf7
parent77019edfe0c190c949cdc0b0e3b4ad2ca37313b3
add detect_zeroes option

On some storages BLKZEROOUT commands do not work properly
and return without error while having no effect whatsoever.
This can produce various filesystem errors and thus needs
to be made optional.

A drive can now have 'detect_zeroes=off' to disable this
behavior. By default the behavior is the same as before:
always-on (and set to 'unmap' if discard is enabled).
PVE/QemuServer.pm