Searched hist:"16 ac0705815ba661a3c1a693ff3a7562e932fb47" (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libbe/ |
H A D | be.c | diff 16ac0705815ba661a3c1a693ff3a7562e932fb47 Wed Jan 23 03:09:15 CET 2019 Kyle Evans <kevans@FreeBSD.org> libbe(3): simplify import, allow replication streams
Previously, we directly used libzfs_core's lzc_receive to import to a temporary snapshot, then cloned the snapshot and setup the properties. This failed when attempting to import replication streams with questionable error.
libzfs's zfs_receive is a much better fit here, so we now use it instead with the destination dataset and let libzfs take care of the dirty details. be_import is greatly simplified as a result.
Reported by: Marie Helene Kvello-Aune <freebsd@mhka.no> MFC after: 1 week
|