Commits
Alexander Atanasov authored 45fcd967105
ploop: fix balloon discard for ext4 and xfs, #PSBM-151232 ploop ballon discard --defrag is broken for vz9 in several ways: - it uses ploop-e4defrag which is clone of e4defrag with vz7 specific additions and it is not installed by default on vz9. - xfs defragmentation is not implemented. - order of operations is wrong - it first does FITRIM and next defrag. As a result balloon discard worked as a noop. To fix this: - use e4defrag for ext4 defragmentation. - implement xfs defrag with xfs_fsr. - change the order of operations - first defrag then FITRIM. https://virtuozzo.atlassian.net/browse/PSBM-151232 Signed-off-by: Alexander Atanasov <alexander.atanasov@virtuozzo.com>