summaryrefslogtreecommitdiffstats
path: root/cmd/ztest/ztest.c
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2019-03-28 18:48:58 -0400
committerBrian Behlendorf <[email protected]>2019-03-28 15:48:58 -0700
commitf94b3cbf43d62f4962e71cfe7ba8c6f0602e2a45 (patch)
tree0324e28b59c93b5b3c1e8edf9b14f567c13cef41 /cmd/ztest/ztest.c
parent5dbf8b4edd5a60b0d043b09aa168e8be1fb30647 (diff)
Send stream should only list included snaps
Currently, zfs send streams will include a list of all snapshots on the source side if the '-p' option is provided. This can cause performance problems on the receive side, especially if those snapshots aren't present on the destination. These problems arise because guid_to_name(), which is used for several receive side functions, will search the entire receive-side pool if it can't find a snapshot with a matching guid. This patch corrects the issue by ensuring only streams that require this list of snapshots include them. Reviewed-by: Alek Pinchuk <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matt Ahrens <[email protected]> Signed-off-by: Tom Caputi <[email protected]> Closes #8533
Diffstat (limited to 'cmd/ztest/ztest.c')
0 files changed, 0 insertions, 0 deletions