[Bug 255261] Slow unmount of (ZFS) filesystem at reboot time

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 20 22:33:10 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255261

--- Comment #5 from Peter Eriksson <pen at lysator.liu.se> ---
FreeBSD 13 uses the new OpenZFS code whereas 12.2 uses the older FreeBSD ZFS
code, so it probably differs quite a bit.

If you're seeing the "Uptime: xx" message then it's not the unmounting of the
filesystems since "Uptime: xx" is printed after they all are unmounted. After
that it frees kernel memory and other stuff... I have another patch that adds
more verbose printing in various parts that was very slow back in the FreeBSD
11.3 days, but I'm not sure how much of it applies directly to FB13 due to the
new ZFS code.

Hmm.. I wonder if the changes in the memory handling code in FreeBSD might have
caused the kmem_cache stuff to become slow again for some reason.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list