From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIKtV-0003ku-TT for qemu-devel@nongnu.org; Mon, 02 Feb 2015 12:34:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIKtR-0005MY-Ss for qemu-devel@nongnu.org; Mon, 02 Feb 2015 12:34:41 -0500 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:42364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIKtR-0005MI-Mq for qemu-devel@nongnu.org; Mon, 02 Feb 2015 12:34:37 -0500 Received: by mail-we0-f182.google.com with SMTP id l61so40375175wev.13 for ; Mon, 02 Feb 2015 09:34:37 -0800 (PST) Sender: Paolo Bonzini Message-ID: <54CFB529.7050802@redhat.com> Date: Mon, 02 Feb 2015 18:34:33 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1422888514-6495-1-git-send-email-pl@kamp.de> <20150202161332.GK9478@noname.redhat.com> <54CFA4DE.702@openvz.org> <20150202164503.GA19586@noname.redhat.com> <54CFAD15.6080702@openvz.org> In-Reply-To: <54CFAD15.6080702@openvz.org> Content-Type: text/plain; charset=windows-1252 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: "Denis V. Lunev" , Kevin Wolf Cc: Peter Lieven , qemu-devel@nongnu.org On 02/02/2015 18:00, Denis V. Lunev wrote: >> > You are absolutely correct for NBD case but I do not get the > point about SIZE_MAX for gluster. There is no such definition > in their git at git://github.com/gluster/glusterfs nor in > public API headers in Ubuntu :( SIZE_MAX is defined in stdint.h (provided by the C library). Paolo