From bfa6bbedabc9d9c56e125bc749e638eaefda0208 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Mon, 16 Sep 2024 09:56:15 -0700 Subject: [PATCH] chore: Compsize is expensive and informational, let's skip it. --- system_files/desktop/shared/usr/bin/btrfs-dedup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system_files/desktop/shared/usr/bin/btrfs-dedup b/system_files/desktop/shared/usr/bin/btrfs-dedup index bd20c77c..c4f40100 100755 --- a/system_files/desktop/shared/usr/bin/btrfs-dedup +++ b/system_files/desktop/shared/usr/bin/btrfs-dedup @@ -273,7 +273,7 @@ fi fi cmd find "$TARGET"/ -mindepth 1 -maxdepth 1 -mtime +"$DB_MAX_AGE" \( -name "$RMLINT_DB" -or -name "$DUPEREMOVE_DB" \) -delete powerchange || true - cmd compsize "$TARGET"/ & + # cmd compsize "$TARGET"/ & worker_waiter if ! is_true "$RMLINT_SKIP"; then if ! is_true "$RMLINT_REPLAY_DISABLE" && [[ -f "$TARGET"/"$RMLINT_DB" ]]; then @@ -298,7 +298,7 @@ fi cmd cp -a 'rmlint.json' "$TARGET"/"$RMLINT_DB" fi cmd rm -f rmlint* - cmd compsize "$TARGET"/ & + # cmd compsize "$TARGET"/ & worker_waiter fi if ! is_true "$DUPEREMOVE_SKIP"; then @@ -313,7 +313,7 @@ fi worker_waiter cmd cp -a "$DUPEREMOVE_DB" "$TARGET"/ cmd rm -f "$DUPEREMOVE_DB" - cmd compsize "$TARGET"/ & + # cmd compsize "$TARGET"/ & worker_waiter fi ) &