Hide Forgot
When a thin-pool's high water mark is reached, it raises an event that is responded to by dmeventd. 'dmeventd' is charged with growing the thin-pool if possible. Another way to free up space in the thin-pool is to call 'fstrim' on file systems associated with that pool. It may be desirable to make this call configurable if it takes considerable time or I/O bandwidth to issue all the discard calls.
We will handle such 'policy' logic via external command. The bug 1410768 will allow to write 'smart' userland handling - as running tools like 'fstrim' is way beyond lvm2 internal logic.
It is now possible to do whatever you want by defining a "thin_command" in lvm.conf and running what you want as things get full.