Print this page
3740 Poor ZFS send / receive performance due to snapshot hold / release processing
Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>

@@ -5162,12 +5162,11 @@
                 if (zhp == NULL) {
                         ++errors;
                         continue;
                 }
                 if (holding) {
-                        if (zfs_hold(zhp, delim+1, tag, recursive,
-                            B_FALSE, -1) != 0)
+                        if (zfs_hold(zhp, delim+1, tag, recursive, -1) != 0)
                                 ++errors;
                 } else {
                         if (zfs_release(zhp, delim+1, tag, recursive) != 0)
                                 ++errors;
                 }