On Fri, Dec 31, 2010 at 4:00 PM, Chris Forgeron <cforge...@acsi.ca> wrote:
> BTW, I'm noticing the removal of vfs.zfs.zil_disable as well - It's not 
> listed as a sysctl when I check vfs.zfs, but I see it's still in the source 
> code;
>
> In usr/src/sys/cddl/ :
> # grep -r zil_disable *
> cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil.h.orig:extern int 
> zil_disable;
> cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c.orig:int zil_disable = 0;    
>   /* disable intent logging */
> cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c.orig:TUNABLE_INT("vfs.zfs.zil_disable",
>  &zil_disable);
> cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c.orig:SYSCTL_INT(_vfs_zfs, 
> OID_AUTO, zil_disable, CTLFLAG_RW, &zil_disable, 0,
> cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c.orig:   if 
> (zil_disable) {
> cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c.orig:         if 
> (bp->bio_cmd == BIO_FLUSH && !zil_disable)
>
>
All the files above show that the original files (*.orig) have the zil_disable.

Your grep of the sources shows that zil_disable was removed from
zil.h, zil.c, zfs_vfsops.c and zvol.c.  I looked at pjd's perforce
repository and found that zil_disable was renamed to
zil_replay_disable.

Scot
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to