]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage.pm
storage_migrate: use bs=4k to copy images with dd
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 24 Dec 2016 09:55:31 +0000 (10:55 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 24 Dec 2016 09:55:31 +0000 (10:55 +0100)
commit46f114a53fd2948ff9b2262cb2d4de50f6b9434e
tree3f9300303e7c3cedfd8a7b4b6c1bf6fd0a0ae627
parent574cb6246ff01a29cfb2bf72b96bbde111006b1f
storage_migrate: use bs=4k to copy images with dd

The default block size is 512 bytes, and is quite slow. We do not
want to use blocks bigger than 4k, because we want to detect empty
blocks (sparse).
PVE/Storage.pm