From db75c92c702afc3b45caa731c8190234c97d15e9 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Thu, 14 May 2020 17:45:37 -0400 Subject: disable btrfs defrag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5c48b0b..fa5b9e7 100644 --- a/Makefile +++ b/Makefile @@ -183,7 +183,7 @@ else btrfstune -f -S0 $@~tmp test -d $@.mnt || mkdir $@.mnt mount -t btrfs -o rw $@~tmp $@.mnt - btrfs fi defrag -c -r $@.mnt + #bash -c "time btrfs fi defrag -c -r $@.mnt" s=$(get_min_size) && (set -x; btrfs fi resize 1:$$s $@.mnt && truncate -s "$$s" $@~tmp) umount $@.mnt losetup -f $< -- cgit v1.2.3