summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 16:42:45 +0000
committerphk <phk@FreeBSD.org>2003-05-31 16:42:45 +0000
commit0129a20107a4d816f5acb9c683952803b97583be (patch)
tree5bac77896fbd3b5412e6f42140c8335ad91f96d2 /sys/ufs
parent8c39502975cf4f5d36d87e3991fb70ba5ce2f8ac (diff)
downloadFreeBSD-src-0129a20107a4d816f5acb9c683952803b97583be.zip
FreeBSD-src-0129a20107a4d816f5acb9c683952803b97583be.tar.gz
The IO_NOWDRAIN and B_NOWDRAIN hacks are no longer needed to prevent
deadlocks with vnode backed md(4) devices because md now uses a kthread to run the bio requests instead of doing it directly from the bio down path.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vnops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c
index 9bcd7ff..910c0e4 100644
--- a/sys/ufs/ffs/ffs_vnops.c
+++ b/sys/ufs/ffs/ffs_vnops.c
@@ -702,8 +702,6 @@ ffs_write(ap)
vfs_bio_clrbuf(bp);
if (ioflag & IO_DIRECT)
bp->b_flags |= B_DIRECT;
- if (ioflag & IO_NOWDRAIN)
- bp->b_flags |= B_NOWDRAIN;
if (uio->uio_offset + xfersize > ip->i_size) {
ip->i_size = uio->uio_offset + xfersize;
@@ -1163,8 +1161,6 @@ ffs_extwrite(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *ucred)
vfs_bio_clrbuf(bp);
if (ioflag & IO_DIRECT)
bp->b_flags |= B_DIRECT;
- if (ioflag & IO_NOWDRAIN)
- bp->b_flags |= B_NOWDRAIN;
if (uio->uio_offset + xfersize > dp->di_extsize)
dp->di_extsize = uio->uio_offset + xfersize;
OpenPOWER on IntegriCloud