From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj7aA-0006pG-DY for qemu-devel@nongnu.org; Thu, 24 Mar 2016 11:53:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj7a6-00045j-A3 for qemu-devel@nongnu.org; Thu, 24 Mar 2016 11:53:58 -0400 Received: from barbershop.grep.be ([89.106.240.122]:54147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj7a6-00045f-3s for qemu-devel@nongnu.org; Thu, 24 Mar 2016 11:53:54 -0400 Date: Thu, 24 Mar 2016 13:32:29 +0100 From: Wouter Verhelst Message-ID: <20160324123229.GG2870@grep.be> References: <1458742562-30624-1-git-send-email-den@openvz.org> <1458742562-30624-3-git-send-email-den@openvz.org> <20160323175834.GC2467@grep.be> <20160323181454.GI4126@noname.redhat.com> <20160324082552.GB24831@phobos.sw.ru> <20160324084129.GG1590@grep.be> <20160324113652.GE24831@phobos.sw.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160324113652.GE24831@phobos.sw.ru> Subject: Re: [Qemu-devel] [Nbd] [PATCH 2/2] NBD proto: add GET_LBA_STATUS extension List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Borzenkov Cc: Kevin Wolf , nbd-general@lists.sourceforge.net, qemu-devel@nongnu.org, Stefan Hajnoczi , "Denis V. Lunev" , Paolo Bonzini On Thu, Mar 24, 2016 at 02:36:52PM +0300, Pavel Borzenkov wrote: > On Thu, Mar 24, 2016 at 09:41:29AM +0100, Wouter Verhelst wrote: > > Okay, that alleviates my concerns. > > > > In that case it might be useful if the server could say something along > > the lines of "I know it's allocated, but I didn't check whether there's > > anything non-zero in there"? The client can then decide to do nothing > > with that information; but the more useful information is sent along, > > the better... > > Doesn't allocated state mean exactly this? E.g. it is allocated and I > have no idea what the content is. I suppose you're right. -- < ron> I mean, the main *practical* problem with C++, is there's like a dozen people in the world who think they really understand all of its rules, and pretty much all of them are just lying to themselves too. -- #debian-devel, OFTC, 2016-02-12