Repository navigation
Commit 7e70004
fix(fc): reflink-copy base rootfs image instead of full byte copy
DebugfsRootfsPreparer.Prepare did a plain io.Copy of the entire base
rootfs image on every Deploy, dominating `onctl up` time for the fc
provider (multi-second sys time copying a large image). The cache
disk preparer already avoided this cost via a CoW reflink; the rootfs
path now does the same, falling back to a full copy on filesystems
without reflink support.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVpF4aLeq6xpokgHiBCy4v1 parent a94b281 commit 7e70004
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
| 467 | + | |
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
598 | 612 | | |
599 | 613 | | |
600 | 614 | | |
| |||
0 commit comments