Merge "Enable out-of-order writes when writing whole disk images"
This commit is contained in:
@@ -49,7 +49,7 @@ log "Imaging $IMAGEFILE to $DEVICE"
|
|||||||
|
|
||||||
# limit the memory usage for qemu-img to 2 GiB
|
# limit the memory usage for qemu-img to 2 GiB
|
||||||
ulimit -v 2097152
|
ulimit -v 2097152
|
||||||
qemu-img convert -t directsync -O host_device $IMAGEFILE $DEVICE
|
qemu-img convert -t directsync -O host_device -W $IMAGEFILE $DEVICE
|
||||||
sync
|
sync
|
||||||
|
|
||||||
log "${DEVICE} imaged successfully!"
|
log "${DEVICE} imaged successfully!"
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Permits out-of-order writes when converting a whole disk images to improve
|
||||||
|
performance.
|
Reference in New Issue
Block a user