diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 16:42:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 16:42:45 +0000 |
commit | 0129a20107a4d816f5acb9c683952803b97583be (patch) | |
tree | 5bac77896fbd3b5412e6f42140c8335ad91f96d2 /sys/kern/vfs_cluster.c | |
parent | 8c39502975cf4f5d36d87e3991fb70ba5ce2f8ac (diff) | |
download | FreeBSD-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/kern/vfs_cluster.c')
-rw-r--r-- | sys/kern/vfs_cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 85fb8b3..72e80d6 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -839,7 +839,7 @@ cluster_wbuild(vp, size, start_lbn, len) bp->b_data = (char *)((vm_offset_t)bp->b_data | ((vm_offset_t)tbp->b_data & PAGE_MASK)); bp->b_flags |= B_CLUSTER | - (tbp->b_flags & (B_VMIO | B_NEEDCOMMIT | B_NOWDRAIN)); + (tbp->b_flags & (B_VMIO | B_NEEDCOMMIT)); bp->b_iodone = cluster_callback; pbgetvp(vp, bp); /* |