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/>

index | next in thread | raw e-mail

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

            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=224295&action=edit
Patch to add a progress indicator for filesystem unmounting at reboot/shutdown

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 filesystems.
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 unmounting
part.

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

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

help

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