Faruk Kasumovic
039b070d1a
- Prevent double-free failure when the same dataset is closed multiple times
...
In some cases, copying dataset object, either by passing by value or in
some other pattern can lead to code that will close the same dataset
multiple times (e.g. defer). Or otherwise, code with complicated
handling of dataset cleanup.
Fixes : #30 , Closes : #31
2020-09-09 10:22:37 +02:00
Asmir Selimovic
5a4d618fa5
- Implemented pool initialization actions
2020-04-22 15:41:23 +02:00
Faruk Kasumovic
0d2d2cf113
Functions to set hold, release and list user references on snapshots
2018-11-02 11:15:55 +01: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
f5a73ad14f
Return logs (ZIL) vdev as well in VDevTree
2018-03-28 10:24:47 +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
5411c35d4b
- Constants for feature enabled/disabled
2017-01-16 14:05:04 +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
4f32480fa0
- Implemented PoolImportByGUID and renamed VDevSpec to VDevTree
2015-12-06 21:56:43 +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
f7f90fe57f
- Pretty much completed set of examples and tests on 'pool' APIs implemented so far
2015-06-11 00:51:46 +02:00
Faruk Kasumovic
c1288a9a2e
- Improvements on properties, state and status handling of pool and dataset
2015-06-09 14:26:35 +02:00
Faruk Kasumovic
1d6e6a86cb
- Export and import pool examples
2015-06-08 23:53:46 +02:00
Faruk Kasumovic
507abac683
- Add argument to pool Export for history log string, hard force (ExportForce),
...
export and import tests, and overall tests fixes and improvements
2015-06-08 23:53:29 +02:00
Faruk Kasumovic
c0b415fe50
- Improved existing tests.
...
Test implementation is separated per datasets and pools to avoid one big complex file.
Tests are dependent so order of execution is forced by adding a_test.go running
test with sub tests in required order.
2015-06-03 23:46:12 +02:00
Faruk Kasumovic
cf7673fe41
- Starting from here, already useful initial implementation :-)
2015-04-19 23:26:54 +02:00