Date: Mon, 5 Nov 2001 10:48:54 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/md md.c src/sys/kern vfs_bio.c vfs_cluster.c src/sys/nfsclient nfs_bio.c src/sys/sys buf.h vnode.h src/sys/ufs/ufs ufs_readwrite.c Message-ID: <200111051848.fA5ImsJ76554@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 2001/11/05 10:48:54 PST Modified files: sys/dev/md md.c sys/kern vfs_bio.c vfs_cluster.c sys/nfsclient nfs_bio.c sys/sys buf.h vnode.h sys/ufs/ufs ufs_readwrite.c Log: Implement IO_NOWDRAIN and B_NOWDRAIN - prevents the buffer cache from blocking in wdrain during a write. This flag needs to be used in devices whos strategy routines turn-around and issue another high level I/O, such as when MD turns around and issues a VOP_WRITE to vnode backing store, in order to avoid deadlocking the dirty buffer draining code. Remove a vprintf() warning from MD when the backing vnode is found to be in-use. The syncer of buf_daemon could be flushing the backing vnode at the time of an MD operation so the warning is not correct. MFC after: 1 week Revision Changes Path 1.48 +8 -5 src/sys/dev/md/md.c 1.292 +9 -4 src/sys/kern/vfs_bio.c 1.115 +1 -1 src/sys/kern/vfs_cluster.c 1.103 +7 -1 src/sys/nfsclient/nfs_bio.c 1.122 +7 -2 src/sys/sys/buf.h 1.163 +1 -0 src/sys/sys/vnode.h 1.83 +3 -1 src/sys/ufs/ufs/ufs_readwrite.c 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?200111051848.fA5ImsJ76554>