summaryrefslogtreecommitdiffstats
path: root/qemu-img.c
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2015-02-02 15:48:34 +0100
committerKevin Wolf <kwolf@redhat.com>2015-02-06 17:24:21 +0100
commit98764152ad8ec9fa4e7bb6d8e10f8a7a7ce273d7 (patch)
treeae61efff6a459990b2999652cdf4533ff393060f /qemu-img.c
parent1cdc3239f1bb8c8f18954defe3cb813edc9df4a0 (diff)
downloadhqemu-98764152ad8ec9fa4e7bb6d8e10f8a7a7ce273d7.zip
hqemu-98764152ad8ec9fa4e7bb6d8e10f8a7a7ce273d7.tar.gz
block: change default for discard and write zeroes to INT_MAX
do not trim requests if the driver does not supply a limit through BlockLimits. For write zeroes we still keep a limit for the unsupported path to avoid allocating a big bounce buffer. Suggested-by: Kevin Wolf <kwolf@redhat.com> Suggested-by: Denis V. Lunev <den@openvz.org> Signed-off-by: Peter Lieven <pl@kamp.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud