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
Faruk Kasumovic
06178df9fe
- Tests for SendSize returning 0 and unpacking resume token
2020-07-16 13:34:14 +02:00
Faruk Kasumovic
e24c488fee
- Fix: Concurrent access to properties even for a different pools still cause crash
...
Prevent concurrent access to all properties with global mutex
2020-02-12 09:38:44 +01:00
Faruk Kasumovic
7c7ef79611
- Fix mount point property race condition causing segmentation fault failures
2020-02-10 13:35:58 +01: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
44a53fa2e4
Fix bug: Overlay property not updated
2018-04-12 11:27:31 +02:00
Faruk Kasumovic
fe36016d7e
- Set and get user property
2017-01-16 14:12:28 +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
c1288a9a2e
- Improvements on properties, state and status handling of pool and dataset
2015-06-09 14:26:35 +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