freebsd-dev/cddl/contrib/opensolaris/lib
Andriy Gapon d5315b02cd MFV r308222: 6051 lzc_receive: allow the caller to read the begin record
illumos/illumos-gate@620f322510
620f322510

https://www.illumos.org/issues/6051
  Currently lzc_receive() requires that its snapname argument is a snapshot name
  (contains '@').
  zfs receive allows to specify just a dataset name and would try to deduce the
  snapshot name from the stream.
  I propose to allow lzc_receive() to do the same.
  That seems to be quite easy to implement, it requires only a small amount of
  logic, it does not require any additional system calls or any additional data
  from the stream.
  The benefit is that the new behavior would allow to keep the snapshot names the
  same between the sender and receiver at zero cost, without a need to pass the
  names out of band.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Andriy Gapon <avg@icyb.net.ua>
MFC after:	2 weeks
2016-11-03 09:24:27 +00:00
..
libctf/common Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
libdtrace Corrected non-portable reuse of va_list in dt_printf() 2016-10-11 16:12:12 +00:00
libgen/common Mechanically convert cddl sun #ifdef's to illumos 2015-01-17 14:44:59 +00:00
libnvpair MFV r302662: 6447 handful of nvpair cleanups 2016-09-01 15:17:39 +00:00
libuutil/common cddl/contrib/opensolaris/lib/libuutil/common/uu_avl.c 2014-03-07 23:01:35 +00:00
libzfs/common zfsbootcfg: a simple tool to set next boot (one time) options for zfsboot 2016-10-29 14:09:32 +00:00
libzfs_core/common MFV r308222: 6051 lzc_receive: allow the caller to read the begin record 2016-11-03 09:24:27 +00:00
libzpool/common Cast result from third parameter to int instead of promoting it to size_t 2016-07-31 06:03:27 +00:00
pyzfs/common