cvs commit: src/sys/kern vfs_bio.c src/sys/sys buf.h
src/sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c
src/sys/ufs/ufs ufs_vnops.c
Poul-Henning Kamp
phk at FreeBSD.org
Tue Oct 26 03:44:11 PDT 2004
phk 2004-10-26 10:44:10 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_bio.c
sys/sys buf.h
sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c
sys/ufs/ufs ufs_vnops.c
Log:
The island council met and voted buf_prewrite() home.
Give ffs it's own bufobj->bo_ops vector and create a private strategy
routine, (currently misnamed for forwards compatibility), which is
just a copy of the generic bufstrategy routine except we call
softdep_disk_prewrite() directly instead of through the buf_prewrite()
indirection.
Teach UFS about the need for softdep_disk_prewrite() and call the
function directly in FFS.
Remove buf_prewrite() from the default bufstrategy() and from the
global bio_ops method vector.
Revision Changes Path
1.460 +3 -5 src/sys/kern/vfs_bio.c
1.174 +0 -10 src/sys/sys/buf.h
1.60 +1 -0 src/sys/ufs/ffs/ffs_extern.h
1.161 +1 -3 src/sys/ufs/ffs/ffs_softdep.c
1.247 +36 -0 src/sys/ufs/ffs/ffs_vfsops.c
1.246 +8 -2 src/sys/ufs/ufs/ufs_vnops.c
More information about the cvs-src
mailing list