Commit Graph

14 Commits

Author SHA1 Message Date
Asmir Selimovic 5a4d618fa5 - Implemented pool initialization actions 2020-04-22 15:41:23 +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 441e099de9 zpool online, offline and clear devices 2018-06-26 14:01:39 +02:00
Faruk Kasumovic b1b9ae5efc - Fix PoolImportSearch not listing pools that are not explicitly exported 2018-04-10 13:45:02 +02:00
Faruk Kasumovic 08a4903509 - Ability to create pool with spares, and l2cache
This breaks previous API PoolCreate function call, changes to fix this
break will be necessary.
2018-01-08 15:29:42 +01:00
Faruk Kasumovic 006e8a798a - Small fixes 2017-12-07 09:54:07 +01: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 fe36016d7e - Set and get user property 2017-01-16 14:12:28 +01:00
Faruk Kasumovic a6fba76e81 - Fix remaining cgo CString memory leaks 2016-07-26 21:43:56 +02:00
Nick Cabatoff fffecd80c2 fix a variety of CGO memory leaks; watch out for C.CString()! some leaks still present, I mostly fixed those that were impacting me directly. 2016-07-17 16:52:14 -04: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 cf7673fe41 - Starting from here, already useful initial implementation :-) 2015-04-19 23:26:54 +02:00