From: Mark Lord Subject: Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separate super_operation Date: Fri, 19 Nov 2010 08:54:18 -0500 Message-ID: <4CE6818A.9020608@teksavvy.com> References: <1290065809-3976-1-git-send-email-lczerner@redhat.com> <20101118130630.GJ6178@parisc-linux.org> <20101118134804.GN5618@dhcp231-156.rdu.redhat.com> <20101118141957.GK6178@parisc-linux.org> <20101118142918.GA18510@infradead.org> <1290100750.3041.72.camel@mulgrave.site> <4CE59C9E.6050902@teksavvy.com> <20101119110903.GA10944@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: James Bottomley , Matthew Wilcox , Josef Bacik , Lukas Czerner , tytso@mit.edu, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, sandeen@redhat.com To: Christoph Hellwig Return-path: Received: from ironport2-out.teksavvy.com ([206.248.154.181]:26385 "EHLO ironport2-out.pppoe.ca" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754121Ab0KSNyU (ORCPT ); Fri, 19 Nov 2010 08:54:20 -0500 In-Reply-To: <20101119110903.GA10944@infradead.org> Sender: linux-ext4-owner@vger.kernel.org List-ID: 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