Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 16:55:34 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/gnu/ext2fs ext2_readwrite.c src/sys/kern vfs_cluster.c vfs_vnops.c src/sys/sys buf.h file.h vnode.h src/sys/ufs/ufs ufs_readwrite.c
Message-ID:  <200004020055.QAA37741@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2000/04/01 16:55:31 PST

  Modified files:
    sys/gnu/ext2fs       ext2_readwrite.c 
    sys/kern             vfs_cluster.c vfs_vnops.c 
    sys/sys              buf.h file.h vnode.h 
    sys/ufs/ufs          ufs_readwrite.c 
  Log:
      Change the write-behind code to take more care when starting
      async I/O's.  The sequential read heuristic has been extended to
      cover writes as well.  We continue to call cluster_write() normally,
      thus blocks in the file will still be reallocated for large (but still
      random) I/O's, but I/O will only be initiated for truely sequential
      writes.
  
      This solves a number of annoying situations, especially with DBM (hash
      method) writes, and also has the side effect of fixing a number of
      (stupid) benchmarks.
  
  Reviewed-by: mckusick
  
  Revision  Changes    Path
  1.19      +4 -2      src/sys/gnu/ext2fs/ext2_readwrite.c
  1.94      +30 -9     src/sys/kern/vfs_cluster.c
  1.88      +37 -28    src/sys/kern/vfs_vnops.c
  1.91      +2 -2      src/sys/sys/buf.h
  1.23      +3 -3      src/sys/sys/file.h
  1.112     +3 -2      src/sys/sys/vnode.h
  1.66      +4 -2      src/sys/ufs/ufs/ufs_readwrite.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004020055.QAA37741>