1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00
freebsd/lib/libzfs/common
Andriy Gapon c2745459d3 5380 receive of a send -p stream doesn't need to try renaming snapshots
illumos/illumos-gate@471a88e499
471a88e499

https://www.illumos.org/issues/5380
  A stream created with zfs send -p -I contains properties of all snapshots of a
  given dataset as opposed to only properties of snapshots in a given range.
  Not only this is suboptimal but the receive code also does not filter
  properties by the range. So, properties of earlier snapshots would be updated
  even though the snapshots themselves are not in the stream (just their
  properties).
  Given that modifying the snapshot properties requires a TXG sync and that the
  snapshots are updated one by one the described behavior may lead to a sever
  performance penalty.

Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Andriy Gapon <avg@FreeBSD.org>
2017-04-14 18:30:22 +00:00
..
sys 5312 libzfs should be decoupled from kernel's zfs_context.h 2014-12-06 00:17:25 +00:00
libzfs_changelist.c 6314 buffer overflow in dsl_dataset_name 2016-07-12 12:01:54 +00:00
libzfs_config.c 4521 zfstest is trying to execute evil "zfs unmount -a" 2016-07-12 11:58:04 +00:00
libzfs_dataset.c 7604 if volblocksize property is the default, it displays as "-" rather than 8K 2017-04-14 18:05:20 +00:00
libzfs_diff.c 6314 buffer overflow in dsl_dataset_name 2016-07-12 12:01:54 +00:00
libzfs_fru.c 8046 Let calloc() do the multiplication in libzfs_fru_refresh 2017-04-10 22:46:34 +00:00
libzfs_impl.h 7541 zpool import/tryimport ioctl returns ENOMEM because provided buffer is too small for config 2017-04-14 18:20:56 +00:00
libzfs_import.c 7803 want devid_str_from_path(3devid) 2017-04-14 18:21:58 +00:00
libzfs_iter.c 7990 libzfs: snapspec_cb() does not need to call zfs_strdup() 2017-04-14 18:27:12 +00:00
libzfs_mount.c 7542 zfs_unmount failed with EZFS_UNSHARENFSFAILED 2017-04-14 17:24:22 +00:00
libzfs_pool.c 7745 print error if lzc_* is called before libzfs_core_init 2017-04-14 18:14:02 +00:00
libzfs_sendrecv.c 5380 receive of a send -p stream doesn't need to try renaming snapshots 2017-04-14 18:30:22 +00:00
libzfs_status.c Update vendor/illumos/dist to illumos-gate 14056:812b3d1ca0a0 2013-06-25 21:34:21 +00:00
libzfs_util.c 7386 zfs get does not work properly with bookmarks 2017-04-14 18:01:43 +00:00
libzfs.h 7252 7628 compressed zfs send / receive 2017-04-14 18:07:43 +00:00