Commit Graph

15 Commits

Author SHA1 Message Date
Asmir Selimovic 5a4d618fa5 - Implemented pool initialization actions 2020-04-22 15:41:23 +02:00
Dario Tranchitella a21bc233c2 Avoiding the nice bytes representation (#26)
Fixes #25, This was broken since libzfs 0.8, by the `literal` argument in the call to zpool_get_propetry function.
2019-12-19 08:29:16 +01:00
Didier Roche 29b1f8314d Fix conflicting rlim64_t conflicting types (#17)
Remove "typedef unsigned long int rlim64_t" as rlim64_t is already
defined in /usr/include/i386-linux-gnu/bits/resource.h on 32 bits.
2019-06-20 21:18:00 +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 d7d3b1e9b7 Merge branch 'dev-zfs-0.7.x'
# Conflicts:
#	zpool.c
2018-11-09 16:24:46 +01:00
Faruk Kasumovic ca2b45d22f Make sure PoolImportSearch is properly initialized 2018-09-18 14:35:48 +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 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 8fd0833477 - Fix issue not building on go 1.8 , and some more improvements 2017-06-02 08:42:14 +02: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