Commit Graph

13 Commits

Author SHA1 Message Date
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 5411c35d4b - Constants for feature enabled/disabled 2017-01-16 14:05:04 +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
Nick Cabatoff cd589deb96 Add pool.RefreshStats() method, needed for iostat-like functionality. 2016-07-16 11:19:19 -04:00
Nick Cabatoff 6b7e0db4e7 Fix bug where VDevTree.Stat wasn't being populated because the wrong struct was being written to. 2016-07-15 19:49:43 -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 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 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 cf7673fe41 - Starting from here, already useful initial implementation :-) 2015-04-19 23:26:54 +02:00