Re: [PATCH, RFC] xfs: batched discard support

From: Mark Lord
Date: Wed Aug 19 2009 - 21:39:41 EST


[resending, after fixing the Cc: list; somebody trimmed it earlier]

Jamie Lokier wrote:
..
I don't remember - does TRIM guarantee the blocks read zeros afterwards?
..

No, it doesn't.

A drive can optionally support "deterministic TRIM", whereby it will return
consistent data for any given trimmed sector afterwards, but that doesn't mean zeros.

-ml
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/