On Wed, Dec 29, 2010 at 11:35:19AM -0500, Paul Clements wrote:
> On Wed, Dec 29, 2010 at 10:32 AM, Wouter Verhelst <[email protected]> wrote:
> > - The kernel can now issue TRIM packets.
> >
> > The packet itself could be something like:
> >
> > .type: 3 (NBD_CMD_TRIM, or perhaps NBD_CMD_DELETE, doesn't really matter
> > all that much)
> > .from: offset to trim
> > .len: length of stuff to trim
> 
> Maybe NBD_CMD_DISCARD, since that's the block layer name for it. (TRIM
> is ATA, PUNCH is SCSI).

Yeah, that's probably quite sensible, then.

> Let me put this on my todo list. It shouldn't take too long to code up.

Great, thanks.

-- 
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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to