diff options
author | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2001-05-20 22:18:11 +0000 |
---|---|---|
committer | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2001-05-20 22:18:11 +0000 |
commit | 9d69a064b7f2692568aa1cc6ee78b6f403635f3c (patch) | |
tree | a79499285d438429830a105d19700155320f99fc | |
parent | 5459043da474419a3c475b0b0606e501cfff8f7f (diff) |
fix comments.
-rw-r--r-- | sys/kern/vfs_cluster.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index df7b6b39b68..a0dbb42b9a7 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_cluster.c,v 1.22 2001/03/21 10:11:22 art Exp $ */ +/* $OpenBSD: vfs_cluster.c,v 1.23 2001/05/20 22:18:10 gluk Exp $ */ /* $NetBSD: vfs_cluster.c,v 1.12 1996/04/22 01:39:05 christos Exp $ */ /*- @@ -94,7 +94,7 @@ int doclusterraz = 0; * 2 Access is sequential, do read-ahead (1 ASYNC). * Desired block is not in cache: * 3 Not sequential access (1 SYNC). - * 4 Sequential access, next block is contiguous (1 SYNC). + * 4 Sequential access, next block is contiguous (2 SYNC). * 5 Sequential access, next block is not contiguous (1 SYNC, 1 ASYNC) * * There are potentially two buffers that require I/O. @@ -417,7 +417,7 @@ cluster_callback(bp) int error = 0; /* - * Must propogate errors to all the components. + * Must propagate errors to all the components. */ if (bp->b_flags & B_ERROR) error = bp->b_error; @@ -699,7 +699,6 @@ redo: ++b_save->bs_nchildren; - /* Move memory from children to parent */ if (tbp->b_blkno != (bp->b_blkno + btodb(bp->b_bufsize))) { printf("Clustered Block: %d addr %x bufsize: %ld\n", bp->b_lblkno, bp->b_blkno, bp->b_bufsize); @@ -722,6 +721,7 @@ redo: if (LIST_FIRST(&tbp->b_dep) != NULL) buf_start(tbp); + /* Move memory from children to parent */ pagemove(tbp->b_data, cp, size); bp->b_bcount += size; bp->b_bufsize += size; |