From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: Does dm-thin support GC (garbage collection) ? Date: Wed, 9 May 2012 09:47:11 -0400 Message-ID: <20120509134710.GA25513@redhat.com> References: <20120507132242.GA27715@redhat.com> <20120508103032.GB4034@ubuntu> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Busby Cc: device-mapper development List-Id: dm-devel.ids On Wed, May 09 2012 at 2:03am -0400, Busby wrote: > I created pool without ignore_discard feature, is this the way to > enable discard? I mounted the ext4 with '--discard' args, I will trace > whether the ext4 really issue discard later. thin-pool's discard support (and discard passdown) are enabled by default. But again, if the underlying storage doesn't support discards you'll get this warning when you load the thin-pool's table: device-mapper: thin: Discard unsupported by data device: Disabling discard passdown.