diff options
author | mm <mm@FreeBSD.org> | 2013-03-21 08:38:03 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2013-03-21 08:38:03 +0000 |
commit | f1985e5cd725ff1816cd4afbdee2d95b661883f0 (patch) | |
tree | dc5ba5b0daf4b2def6f76ea78d8a4eeb0db53a37 /share | |
parent | be285699ff1a25c9a2ddfb84572dd11234c2f71f (diff) | |
parent | 181ede09a39a4bcb3012d6e3d54af3230a5ce7c3 (diff) | |
download | FreeBSD-src-f1985e5cd725ff1816cd4afbdee2d95b661883f0.zip FreeBSD-src-f1985e5cd725ff1816cd4afbdee2d95b661883f0.tar.gz |
Merge libzfs_core branch:
includes MFV 238590, 238592, 247580
MFV 238590, 238592:
In the first zfs ioctl restructuring phase, the libzfs_core library was
introduced. It is a new thin library that wraps around kernel ioctl's.
The idea is to provide a forward-compatible way of dealing with new
features. Arguments are passed in nvlists and not random zfs_cmd fields,
new-style ioctls are logged to pool history using a new method of
history logging.
http://blog.delphix.com/matt/2012/01/17/the-future-of-libzfs/
MFV 247580 [1]:
To address issues of several deadlocks and race conditions the locking
code around dsl_dataset was rewritten and the interface to synctasks
was changed.
User-Visible Changes:
"zfs snapshot" can create more arbitrary snapshots at once (atomically)
"zfs destroy" destroys multiple snapshots at once
"zfs recv" has improved performance
Backward Compatibility:
I have extended the compatibility layer to support full backward
compatibility by remapping or rewriting the responsible ioctl arguments.
Old utilities are fully supported by the new kernel module.
Forward Compatibility:
New utilities work with old kernels with the following restrictions:
- creating, destroying, holding and releasing of multiple snapshots
at once is not supported, this includes recursive (-r) commands
Illumos ZFS issues:
2882 implement libzfs_core
2900 "zfs snapshot" should be able to create multiple,
arbitrary snapshots at once
3464 zfs synctask code needs restructuring
References:
https://www.illumos.org/issues/2882
https://www.illumos.org/issues/2900
https://www.illumos.org/issues/3464 [1]
MFC after: 1 month
Sponsored by: Hybrid Logic Inc. [1]
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.libnames.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/bsd.libnames.mk b/share/mk/bsd.libnames.mk index 9b3e31f..e11ac81 100644 --- a/share/mk/bsd.libnames.mk +++ b/share/mk/bsd.libnames.mk @@ -174,4 +174,5 @@ LIBY?= ${DESTDIR}${LIBDIR}/liby.a LIBYPCLNT?= ${DESTDIR}${LIBDIR}/libypclnt.a LIBZ?= ${DESTDIR}${LIBDIR}/libz.a LIBZFS?= ${DESTDIR}${LIBDIR}/libzfs.a +LIBZFS_CORE?= ${DESTDIR}${LIBDIR}/libzfs_core.a LIBZPOOL?= ${DESTDIR}${LIBDIR}/libzpool.a |