Date: Tue, 26 Oct 2004 10:44:10 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200410261044.i9QAiAD8088924@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410261044.i9QAiAD8088924>