From: Christoph Hellwig Subject: Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separate super_operation Date: Fri, 19 Nov 2010 06:09:03 -0500 Message-ID: <20101119110903.GA10944@infradead.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: James Bottomley , Christoph Hellwig , 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: Mark Lord Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:46990 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753098Ab0KSLJK (ORCPT ); Fri, 19 Nov 2010 06:09:10 -0500 Content-Disposition: inline In-Reply-To: <4CE59C9E.6050902@teksavvy.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: 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.