xfs
[Top] [All Lists]

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

To: Jamie Lokier <jamie@xxxxxxxxxxxxx>
Subject: Re: [PATCH, RFC] xfs: batched discard support
From: Mark Lord <liml@xxxxxx>
Date: Wed, 19 Aug 2009 21:38:27 -0400
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>, Paul Mackerras <paulus@xxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, jens.axboe@xxxxxxxxxx
In-reply-to: <20090820011004.GC14005@xxxxxxxxxxxxx>
Organization: Real-Time Remedies Inc.
References: <20090816004705.GA7347@xxxxxxxxxxxxx> <20090819203916.GA25296@xxxxxxx> <20090820010552.GA22107@xxxxxxxxxxxxx> <20090820011004.GC14005@xxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.22 (X11/20090608)
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

<Prev in Thread] Current Thread [Next in Thread>