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>

@@ -20,10 +20,13 @@
  */
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Copyright (c) 2012 by Delphix. All rights reserved.
+ */
 
 #include <sys/refcount.h>
 #include <sys/rrwlock.h>
 
 /*

@@ -260,5 +263,15 @@
         }
         mutex_exit(&rrl->rr_lock);
 
         return (held);
 }
+
+void
+rrw_tsd_destroy(void *arg)
+{
+        rrw_node_t *rn = arg;
+        if (rn != NULL) {
+                panic("thread %p terminating with rrw lock %p held",
+                    (void *)curthread, (void *)rn->rn_rrl);
+        }
+}