Re: [Nbd] NBD, sparse files & TRIM
- To: folkert <folkert@...421...>
- Cc: Paul Clements <paul.clements@...856...>, nbd-general@...72...
- Subject: Re: [Nbd] NBD, sparse files & TRIM
- From: Wouter Verhelst <w@...112...>
- Date: Wed, 5 Jan 2011 17:01:30 +0100
- Message-id: <20110105160130.GA27042@...510...>
- In-reply-to: <20110105155250.GE3629@...855...>
- References: <20091104173920.GJ6589@...421...> <20091106110734.GA9690@...510...> <20091106143449.GN6589@...421...> <20101228152306.GV9658@...855...> <20101229153211.GA19035@...510...> <AANLkTimYH-m5mabiY26VBXnuhomX6ZmAgkK2aU=-HMG4@...18...> <20101229211412.GB19035@...510...> <20110105155250.GE3629@...855...>
On Wed, Jan 05, 2011 at 04:53:01PM +0100, folkert wrote:
> An other enhancement could be:
> - compression (when cpu is faster than network connection)
That would be improper layering, IMO. You can already do compression by
using a compressed filesystem or some device-mapper thing.
> - not sending 0x00 pages but some flag in the responsheader indicating
> an all 0x00 page
I do intend to write the changes that would be required for what
triggered this thread in such a way that it would (configurably) also
work even if the server isn't running off a filesystem that supports
sparse files (so that it would just write out 0x00 pages instead, rather
than deallocating them). Or did you mean something else?
--
The biometric identification system at the gates of the CIA headquarters
works because there's a guard with a large gun making sure no one is
trying to fool the system.
http://www.schneier.com/blog/archives/2009/01/biometrics.html
Reply to: