Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 13:49:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255261] Slow unmount of (ZFS) filesystem at reboot time
Message-ID:  <bug-255261-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255261

            Bug ID: 255261
           Summary: Slow unmount of (ZFS) filesystem at reboot time
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pen@lysator.liu.se

Created attachment 224295
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224295&action=
=3Dedit
Patch to add a progress indicator for filesystem unmounting at reboot/shutd=
own

On a server with about 140000 zfs filesystems a "reboot" sometimes takes a =
very
long (hours) time. Time that is spend by the kernel unmounting the filesyst=
ems.
Unfortunately the kernel doesn't print any kind of progress indication when
this occurs so you just see the "Uptime: xxxx" printed and then nothing...

Please find enclosed a patch that adds a progress indication for the unmoun=
ting
part.

(There used to be a related issue with the ZFS kmem freeing also taking a v=
ery
long time but that fix is included so that part goes quickly when the
unmounting part has been passed).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255261-227>