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,5173 ****
if (zhp == NULL) {
++errors;
continue;
}
if (holding) {
! if (zfs_hold(zhp, delim+1, tag, recursive,
! B_FALSE, -1) != 0)
++errors;
} else {
if (zfs_release(zhp, delim+1, tag, recursive) != 0)
++errors;
}
--- 5162,5172 ----
if (zhp == NULL) {
++errors;
continue;
}
if (holding) {
! if (zfs_hold(zhp, delim+1, tag, recursive, -1) != 0)
++errors;
} else {
if (zfs_release(zhp, delim+1, tag, recursive) != 0)
++errors;
}