Feature #2882
closedimplement libzfs_core
80%
Description
We should implement libzfs_core, under the principles proposed here:
http://blog.delphix.com/matt/2012/01/17/the-future-of-libzfs/
This feature request will cover the first phase of this project, specifically the following tasks:
- create libzfs_core library with functions for snapshot, create, clone, destroy snapshots, send & receive (simple cases), send space estimation
- revamp the way zfs ioctls are handled: ioctl-specific arguments are passed in nvlist, not random zfs_cmd_t fields
- new-style ioctls are logged to the zpool history
- new method of history logging (separate ioctl)
- "zfs snapshot" can create multiple arbitrary snapshots at once
- revamp the way internal history events are handled (stored on disk as names rather than event ID)
Updated by Eric Schrock over 11 years ago
- Status changed from In Progress to Resolved
changeset: 13743:95aba6e49b9f
tag: tip
user: Matthew Ahrens <mahrens@delphix.com>
date: Sat Jun 30 13:00:47 2012 -0700
description:
2882 implement libzfs_core
2883 changing "canmount" property to "on" should not always remount dataset
2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Chris Siden <christopher.siden@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Bill Pijewski <wdp@joyent.com>
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>