[dm-devel] Does dm-thin support GC (garbage collection) ?

Mike Snitzer snitzer at redhat.com
Wed May 9 13:47:11 UTC 2012


On Wed, May 09 2012 at  2:03am -0400,
Busby <chaimvy at gmail.com> 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.




More information about the dm-devel mailing list