Revert "feat: enable metacopy=on to test metadata-only copy-up"

This reverts commit 4c546e5d91.
This commit is contained in:
Nicholas Dudfield
2025-10-31 09:51:27 +07:00
parent 4c546e5d91
commit bd384e6bc1
2 changed files with 5 additions and 6 deletions

View File

@@ -274,12 +274,11 @@ runs:
exit 0
fi
# Mount OverlayFS with metacopy=on to prevent copy-up for files opened-but-not-written
# This dramatically reduces delta sizes when ccache opens files with O_RDWR but doesn't modify content
# Mount OverlayFS
echo ""
echo "Mounting OverlayFS with metacopy=on..."
echo "Mounting OverlayFS..."
sudo mount -t overlay overlay \
-o lowerdir="${CACHE_WORKSPACE}/base",upperdir="${CACHE_WORKSPACE}/upper",workdir="${CACHE_WORKSPACE}/work",metacopy=on \
-o lowerdir="${CACHE_WORKSPACE}/base",upperdir="${CACHE_WORKSPACE}/upper",workdir="${CACHE_WORKSPACE}/work" \
"${CACHE_WORKSPACE}/merged"
# Verify mount