Date: Mon, 27 Nov 1995 18:15:36 -0800 From: Peter Wemm <peter> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/ufs/mfs mfs_vfsops.c Message-ID: <199511280215.SAA21210@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 95/11/27 18:15:34 Modified: sys/ufs/mfs mfs_vfsops.c Log: Attempt to solve the busy-buffers-on-shutdown caused by MFS once and for all. What was happening, was that the main mfs loop was sleeping, and when it was being awoken by a wakeup when it was supposed to process some IO requests. The problem was that if it was being woken out of the tsleep() by a signal at shutdown, it was going straight into dounmount() without servicing any pending IO requests, causing dounmount() to fail because there were busy buffers (and they could not be "processed" because the processing loop was trying to unmount rather than dispatching into mfs_doio()). This (dare I say it :-) appears to be a layering problem.... Revision Changes Path 1.15 +14 -4 src/sys/ufs/mfs/mfs_vfsops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511280215.SAA21210>