On Wed, Oct 19, 2011 at 01:56:54PM +0100, Alasdair G Kergon wrote: > vgtrim Suggested spec if someone wants to implement this: 1) factor out the discard code from release_pv_segment so it can be shared and used on existing segments too; 2) Add vgtrim (+man page) which takes VG-style arguments, uses process_each_pv_in_vg which uses process_each_segment_in_pv which checks if segment is free and if so calls the code from (1) to issue a discard on it. Alasdair _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/