Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 22:45:03 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r200883 - user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <200912222245.nBMMj313078921@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Tue Dec 22 22:45:03 2009
New Revision: 200883
URL: http://svn.freebsd.org/changeset/base/200883

Log:
  call zfs_bio initialization functions

Modified:
  user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_bio.c
  user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c

Modified: user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_bio.c
==============================================================================
--- user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_bio.c	Tue Dec 22 22:38:54 2009	(r200882)
+++ user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_bio.c	Tue Dec 22 22:45:03 2009	(r200883)
@@ -963,6 +963,7 @@ zfs_bio_init(void)
 
 	zfs_bio_event_shutdown = EVENTHANDLER_REGISTER(shutdown_pre_sync,
 	    zfs_bio_shutdown, NULL, EVENTHANDLER_PRI_FIRST);
+	buf_init();
 }
 
 void

Modified: user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
==============================================================================
--- user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c	Tue Dec 22 22:38:54 2009	(r200882)
+++ user/kmacy/releng_8_fcs_buf_xen/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c	Tue Dec 22 22:45:03 2009	(r200883)
@@ -143,6 +143,7 @@ zio_init(void)
 #endif
 
 	zio_inject_init();
+	zfs_bio_init();
 }
 
 void
@@ -170,6 +171,7 @@ zio_fini(void)
 
 	kmem_cache_destroy(zio_cache);
 
+	zfs_bio_fini();
 	zio_inject_fini();
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912222245.nBMMj313078921>