]> Git Repo - qemu.git/commit
block: change default for discard and write zeroes to INT_MAX
authorPeter Lieven <[email protected]>
Mon, 2 Feb 2015 14:48:34 +0000 (15:48 +0100)
committerKevin Wolf <[email protected]>
Fri, 6 Feb 2015 16:24:21 +0000 (17:24 +0100)
commit98764152ad8ec9fa4e7bb6d8e10f8a7a7ce273d7
treeae61efff6a459990b2999652cdf4533ff393060f
parent1cdc3239f1bb8c8f18954defe3cb813edc9df4a0
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 <[email protected]>
Suggested-by: Denis V. Lunev <[email protected]>
Signed-off-by: Peter Lieven <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block.c
This page took 0.023209 seconds and 4 git commands to generate.