On Sun, Jun 21, 2020 at 03:35:21PM +0200, Otto Moerbeek wrote:
> both phase 1 and phase 5 need cylinder group metadata. This diff
> keeps the cg data read in phase 1 in memory to be used by phase 5 if
> possible. From FreeBSD.
> On an empty 30T fileystem:
> $ time obj/fsck_ffs -f /dev/sd3a
> 2m44.10s real 0m13.21s user 0m07.38s system
> $ time doas obj/fsck_ffs -f /dev/sd3a
> 1m32.81s real 0m12.86s user 0m05.25s system
> The difference will be less if a fileystem is filled up, but still nice.