Print this page
3740 Poor ZFS send / receive performance due to snapshot hold / release processing
Submitted by: Steven Hartland <steven.hartland@multiplay.co.uk>
@@ -1,8 +1,9 @@
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013 by Delphix. All rights reserved.
+ * Copyright (c) 2013 Steven Hartland. All rights reserved.
*/
/*
* BSD 3 Clause License
*
@@ -201,11 +202,11 @@
zfs_close(zhp);
return (-1);
}
p = strchr(snapname, '@') + 1;
- if (zfs_hold(zhp, p, jname, recursive, B_FALSE, cleanup_fd) != 0) {
+ if (zfs_hold(zhp, p, jname, recursive, cleanup_fd) != 0) {
NDMP_LOG(LOG_ERR, "Cannot hold snapshot %s", p);
zfs_close(zhp);
return (-1);
}
zfs_close(zhp);