DragonFly BSD
DragonFly commits List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/conf src/sys/i386/conf src/sys/kern src/sys/vm src/sys/vfs/ufs

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Oct 2004 12:14:35 -0700 (PDT)

dillon      2004/10/25 12:14:35 PDT

DragonFly src repository

  Modified files:
    sys/conf             options 
    sys/i386/conf        LINT 
    sys/kern             kern_subr.c vfs_subr.c 
    sys/vm               vm_map.c 
    sys/vfs/ufs          ufs_readwrite.c 
  Remove the vfs page replacement optimization and its ENABLE_VFS_IOOPT option.
  This never worked properly... that is, the semantics are broken compared to
  a normal read or write in that the read 'buffer' will be modified out from
  under the caller if the underlying file is.
  What is really needed here is a copy-on-write feature that works in both
  directions, similar to how a shared buffer is copied after a fork() if either
  the parent or child modify it.  The optimization will eventually rewritten
  with that in mind but not right now.
  Revision  Changes    Path
  1.27      +0 -1      src/sys/conf/options
  1.41      +0 -1      src/sys/i386/conf/LINT
  1.19      +1 -86     src/sys/kern/kern_subr.c
  1.45      +0 -5      src/sys/kern/vfs_subr.c
  1.34      +0 -249    src/sys/vm/vm_map.c
  1.13      +5 -107    src/sys/vfs/ufs/ufs_readwrite.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]