Commit Graph

14 Commits

Author SHA1 Message Date
Anton Tykhyy a91df3a028 Error constants: fix typo, add as per libzfs.h 0.8.2 (#27) 2020-08-18 16:06:32 +02:00
Didier Roche e50663fa59 Maps ZPOOL_PROP_AUTOTRIM to PoolPropAutotrim (#20)
ZPOOL_PROP_AUTOTRIM is part of Trim support added in zfs 0.8
(1b939560be).
Add it and prevents panic when pool is reloading its properties.
Fixes #19
2019-08-07 11:49:32 +02:00
steigr b16d96b1a8 zfs 0.8 support (#15)
* Rename Rewind-Policy to Load-Policy

See 8a393be353 (diff-f29552ad5ed97006cc80fc2b453cbe39R726) for details.

Signed-off-by: steigr <me@stei.gr>

* Use threadpool for zpool_search_import.

See e89f1295d4 (diff-24bf46767aadc66215cb194bdba266e7) for details.

Signed-off-by: steigr <me@stei.gr>

* Use sendflags struct.

See 835db58592 for details.

Signed-off-by: steigr <me@stei.gr>

* Added new pool properties `Checkpoint` and `LoadGuid`

OpenZFS 9166 - zfs storage pool checkpoint: d2734cce68
read/write kstats per dataset: a448a2557e

Signed-off-by: steigr <me@stei.gr>
2019-06-20 21:17:31 +02:00
Faruk Kasumovic 7482756d85 Changes to build on musl/alpine 2018-11-15 21:58:33 +01:00
Faruk Kasumovic 6b01056691 Additional compatibility changes to work with libzfs 0.7.x 2018-08-06 10:35:39 +02:00
Faruk Kasumovic c0f5b857fc Port to zfs-0.7.x
Compatibility changes to work with libzfs 0.7.x, changes are not bacward compatible
2018-08-06 10:35:39 +02:00
Faruk Kasumovic 44a53fa2e4 Fix bug: Overlay property not updated 2018-04-12 11:27:31 +02:00
Faruk Kasumovic 1b47551b87 - ZFS send/receive 2017-06-15 14:12:39 +02:00
Faruk Kasumovic 8fd0833477 - Fix issue not building on go 1.8 , and some more improvements 2017-06-02 08:42:14 +02:00
Faruk Kasumovic 07270bcff8 - Improved pointer handling between go and C and elimination of associated memory leaks and potential corruptions 2017-02-23 11:29:17 +01:00
Faruk Kasumovic b49a2715c2 - Implemented: Search pools available to import but not imported AND Fetch imported pool's current vdev tree 2016-01-21 09:54:04 +01:00
Faruk Kasumovic bc19737222 - Changes to make library interface more clear and to better suit go package standards 2015-12-04 23:05:19 +01:00
Faruk Kasumovic db4703b708 - Add properties from libzfs in 0.6.5 version 2015-10-28 11:00:08 +01:00
Faruk Kasumovic cf7673fe41 - Starting from here, already useful initial implementation :-) 2015-04-19 23:26:54 +02:00