From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIJoN-0005dk-1P for qemu-devel@nongnu.org; Mon, 02 Feb 2015 11:25:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIJoI-0006tY-Ux for qemu-devel@nongnu.org; Mon, 02 Feb 2015 11:25:18 -0500 Received: from mx2.parallels.com ([199.115.105.18]:46594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIJoI-0006tF-QN for qemu-devel@nongnu.org; Mon, 02 Feb 2015 11:25:14 -0500 Message-ID: <54CFA4DE.702@openvz.org> Date: Mon, 2 Feb 2015 19:25:02 +0300 From: "Denis V. Lunev" MIME-Version: 1.0 References: <1422888514-6495-1-git-send-email-pl@kamp.de> <20150202161332.GK9478@noname.redhat.com> In-Reply-To: <20150202161332.GK9478@noname.redhat.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] block: change default for discard and write zeroes to INT_MAX List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , Peter Lieven Cc: qemu-devel@nongnu.org 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 >> Suggested-by: Denis V. Lunev >> Signed-off-by: Peter Lieven > Thanks, applied to the block branch (and removed 'block/raw-posix: set > max_write_zeroes to INT_MAX for regular files' from the queue). > > Kevin 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 :( Den