diff options
author | dillon <dillon@FreeBSD.org> | 2001-02-28 04:13:11 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-02-28 04:13:11 +0000 |
commit | f1c1ec2babf0f143df9be6d307aedca0505ea5e5 (patch) | |
tree | 456c8ff2f2660f28d4c071e5678b5032aee74fa6 /sys/kern/vfs_cluster.c | |
parent | 2ab101b2392bc752f7731c63d3753c60e65c4432 (diff) | |
download | FreeBSD-src-f1c1ec2babf0f143df9be6d307aedca0505ea5e5.zip FreeBSD-src-f1c1ec2babf0f143df9be6d307aedca0505ea5e5.tar.gz |
Fix lockup for loopback NFS mounts. The pipelined I/O limitations could be
hit on the client side and prevent the server side from retiring writes.
Pipeline operations turned off for all READs (no big loss since reads are
usually synchronous) and for NFS writes, and left on for the default bwrite().
(MFC expected prior to 4.3 freeze)
Testing by: mjacob, dillon
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r-- | sys/kern/vfs_cluster.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 1c119b4..de6b67e 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -249,9 +249,6 @@ single_block_read: #endif if ((bp->b_flags & B_CLUSTER) == 0) { vfs_busy_pages(bp, 0); - } else { - bp->b_runningbufspace = bp->b_bufsize; - runningbufspace += bp->b_runningbufspace; } bp->b_flags &= ~B_INVAL; bp->b_ioflags &= ~BIO_ERROR; @@ -289,9 +286,6 @@ single_block_read: if ((rbp->b_flags & B_CLUSTER) == 0) { vfs_busy_pages(rbp, 0); - } else { - rbp->b_runningbufspace = rbp->b_bufsize; - runningbufspace += rbp->b_runningbufspace; } rbp->b_flags &= ~B_INVAL; rbp->b_ioflags &= ~BIO_ERROR; |