Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separate super_operation

From: Mark Lord
Date: Fri Nov 19 2010 - 08:54:25 EST


On 10-11-19 06:09 AM, Christoph Hellwig wrote:
On Thu, Nov 18, 2010 at 04:37:34PM -0500, Mark Lord wrote:
Currently, I patch my kernels to remove the automatic online TRIMs.
Is there a knob somewhere for this in the later kernels?

There is not automatic discard in any recent kernel. You always need
to mount with -o discard to enabled it.

Peachy. Thanks, Christoph.

My 2-year old userspace here doesn't have "-o discard",
so I couldn't find it in the man pages etc.. thus my paranoia. :)

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