On Fri, Oct 19, 2012 at 1:46 PM, Arne Jansen <sensi...@gmx.net> wrote:
> On 10/19/2012 09:58 PM, Matthew Ahrens wrote: > > Please don't bother changing libzfs (and proliferating the copypasta > > there) -- do it like lzc_send(). > > > > ok. It would be easier though if zfs_send would also already use the > new style. Is it in the pipeline already? > > > Likewise, zfs_ioc_fits_send should use the new-style API. See the > > comment at the beginning of zfs_ioctl.c. > I'm saying to use lzc_send() as an example, rather than zfs_send(). lzc_send() already uses the new style. I don't see how your job would be made easier by converting zfs_send(). It would be nice to convert ZFS_IOC_SEND to the new IOCTL format someday, but I don't think that the complexities of zfs_send() would be appropriate for libzfs_core. Programmatic consumers typically know exactly what snapshots they want sent and would prefer the clean error handling of lzc_send(). --matt
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss