Date: Sat, 14 Nov 1998 16:33:47 +1100 From: Bruce Evans <bde@zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, msmith@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_shutdown.c Message-ID: <199811140533.QAA25530@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified files: > sys/kern kern_shutdown.c > Log: > Don't count non-local dirty buffers as outstanding when shutting down. > This avoids the fsck-on-reboot symptoms if you're shutting down with a > hung or unreachable NFS server mounted. Also remove non-local > filesystems from the mount list to prevent the system hanging when it tries > to unmount them (for the same reason). This needs more work: - it removes elements from the mount list more than once if there is more than one dirty buffer per non-local file system. This happens to work if the same element is removed several times without removal of another element, but it can corrupt the list if removals of different elements are interleaved. - it doesn't lock the mount list when changing it. Even for UP and non- giant-locked SMP, this may cause problems if the list is already locked. - it doesn't warn about the file systems that it removes from the mount list. - it stops the SHOW_BUSYBUFS code from showing the missing syncs. - it has style bugs. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811140533.QAA25530>