On Sat, Nov 03, 2007 at 09:37:34PM +0100, Kris Kennaway wrote: > Pawel Jakub Dawidek wrote: > >pjd 2007-11-01 11:04:21 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/contrib/opensolaris/uts/common/fs/zfs zvol.c > > Log: > > Call zil_commit() (if ZIL is not disabled) after every non-read request > > (BIO_WRITE and BIO_FLUSH) as it is done is Solaris. The difference is > > that Solaris calls it only for sync requests, but we can't say in GEOM > > is the request is sync or async, so we do it for every request. > > > > MFC after: 1 week > > > > Revision Changes Path > > 1.4 +11 -11 src/sys/contrib/opensolaris/uts/common/fs/zfs/zvol.c > > > > > > Does this add significant overhead?
ZVOLs are replacement for disks and file system put on top of that should handle delaying write requests, etc. Even if there is overhead, this is the right thing to do, but I don't think it's significant. I'll do some tests a bit later, now I need to make ZFS compile again in my perforce after last integration:) -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
pgpnW8Fve3I5X.pgp
Description: PGP signature