Print this page
2882 implement libzfs_core
2883 changing "canmount" property to "on" should not always remount dataset
2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Chris Siden <christopher.siden@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Bill Pijewski <wdp@joyent.com>
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com>

@@ -18,10 +18,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012 by Delphix. All rights reserved.
  */
 
 /* Portions Copyright 2010 Robert Milkowski */
 
 #include <sys/types.h>

@@ -2246,13 +2247,12 @@
 
                 VERIFY(0 == sa_set_sa_object(os, sa_obj));
                 sa_register_update_callback(os, zfs_sa_upgrade);
         }
 
-        spa_history_log_internal(LOG_DS_UPGRADE,
-            dmu_objset_spa(os), tx, "oldver=%llu newver=%llu dataset = %llu",
-            zfsvfs->z_version, newvers, dmu_objset_id(os));
+        spa_history_log_internal_ds(dmu_objset_ds(os), "upgrade", tx,
+            "from %llu to %llu", zfsvfs->z_version, newvers);
 
         dmu_tx_commit(tx);
 
         zfsvfs->z_version = newvers;