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
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
Log:
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
http://www.dragonflybsd.org/cvsweb/src/sys/conf/options.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/conf/LINT.diff?r1=1.40&r2=1.41&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_subr.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.44&r2=1.45&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_map.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_readwrite.c.diff?r1=1.12&r2=1.13&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]