Date: Mon, 07 Oct 2019 14:36:43 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 241117] zfs_unlinked_drain takes "forever" for over-quota ZFS filesystems Message-ID: <bug-241117-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241117 Bug ID: 241117 Summary: zfs_unlinked_drain takes "forever" for over-quota ZFS filesystems Product: Base System Version: 11.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pen@lysator.liu.se When rebooting a server "zfs mount -a" can take "forever" (or atleast a sil= ly amount of time) if there is a ZFS filesystems that are at or over 'refquota' when the kernel tries to execute "zfs_unlinked_drain" (and that filesystem = has unlinked stuff to drain). This effective allows a user to cause a denial-of-service if the server hap= pens to reboot due to a bug... Workaround:=20 Make sure "zfs mount" is done in the background in the /etc/rc.d/zfs startup script - so that you can get a login prompt, and then give the filesystem m= ore quota so progress can continue. --=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-241117-227>