[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block: change default for discard and write zer
Denis V. Lunev
Re: [Qemu-devel] [PATCH] block: change default for discard and write zeroes to INT_MAX
Mon, 2 Feb 2015 19:25:02 +0300
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
On 02/02/15 19:13, Kevin Wolf wrote:
Am 02.02.2015 um 15:48 hat Peter Lieven geschrieben:
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 <address@hidden>
Suggested-by: Denis V. Lunev <address@hidden>
Signed-off-by: Peter Lieven <address@hidden>
Thanks, applied to the block branch (and removed 'block/raw-posix: set
max_write_zeroes to INT_MAX for regular files' from the queue).
double checked the code.
There are 2 things to patch for discard, write_zeroes is OK for me.
Sorry, for not paying attention for discard branch :(
[Qemu-devel] [PATCH 1/2] glusterfs: fix max_discard, Denis V. Lunev, 2015/02/02