Date: Tue, 16 Dec 2003 09:05:05 -0800 (PST) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200312161705.hBGH553d019697@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2003/12/16 09:05:05 PST
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
- When doing a forced unmount, VFS attempts to keep VCHR vnodes valid by
reassigning their v_ops field to specfs, detaching from the mountpoint, etc.
However, this is not sufficient. If we vclean() the vnode the pages owned
by the vnode are lost, potentially while buffers reference them. Implement
parts of vclean() seperately in vgonechrl() so that the pages and bufs
associated with a device vnode are not destroyed while in use.
Revision Changes Path
1.474 +28 -1 src/sys/kern/vfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312161705.hBGH553d019697>
