Re: [Nbd] [PATCH 2/2] NBD proto: add GET_LBA_STATUS extension
- To: Pavel Borzenkov <pborzenkov@...2319...>
- Cc: Kevin Wolf <kwolf@...696...>, nbd-general@lists.sourceforge.net, qemu-devel@...530..., Stefan Hajnoczi <stefanha@...696...>, "Denis V. Lunev" <den@...2317...>, Paolo Bonzini <pbonzini@...696...>
- Subject: Re: [Nbd] [PATCH 2/2] NBD proto: add GET_LBA_STATUS extension
- From: Wouter Verhelst <w@...112...>
- Date: Thu, 24 Mar 2016 13:32:29 +0100
- Message-id: <20160324123229.GG2870@...3...>
- In-reply-to: <20160324113652.GE24831@...2346...>
- References: <1458742562-30624-1-git-send-email-den@...2317...> <1458742562-30624-3-git-send-email-den@...2317...> <20160323175834.GC2467@...3...> <20160323181454.GI4126@...2331...> <20160324082552.GB24831@...2346...> <20160324084129.GG1590@...3...> <20160324113652.GE24831@...2346...>
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
Reply to: