summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_bio.c
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/nfsclient/nfs_bio.c
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/nfsclient/nfs_bio.c')
-rw-r--r--sys/nfsclient/nfs_bio.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c
index 088be65..f36cbcb 100644
--- a/sys/nfsclient/nfs_bio.c
+++ b/sys/nfsclient/nfs_bio.c
@@ -973,12 +973,6 @@ again:
}
vfs_bio_set_validclean(bp, on, n);
}
- /*
- * If IO_NOWDRAIN then set B_NOWDRAIN (nfs-backed MD
- * filesystem)
- */
- if (ioflag & IO_NOWDRAIN)
- bp->b_flags |= B_NOWDRAIN;
/*
* If IO_SYNC do bwrite().
OpenPOWER on IntegriCloud