Commit Graph

50 Commits

Author SHA1 Message Date
Faruk Kasumovic fd4a79d895 Merge branch 'dev-zfs-0.7.x' of ssh://tuzla-git.local:2020/fkasumovic/go-libzfs into dev-zfs-0.7.x 2018-08-06 14:06:18 +02:00
Faruk Kasumovic 6d3dff30aa Estimate snapshot send size 2018-08-06 10:35:39 +02:00
Faruk Kasumovic 6b01056691 Additional compatibility changes to work with libzfs 0.7.x 2018-08-06 10:35:39 +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 4cd8ea7346 Skip destroyed pools in pool import search 2018-08-06 10:34:42 +02:00
Faruk Kasumovic 46ec88c0a8 Estimate snapshot send size 2018-07-11 16:20:37 +02:00
Faruk Kasumovic 5d716ef4ec Additional compatibility changes to work with libzfs 0.7.x 2018-07-06 13:35:47 +02:00
Faruk Kasumovic c8b6755593 Port to zfs-0.7.x
Compatibility changes to work with libzfs 0.7.x, changes are not bacward compatible
2018-07-02 14:37:54 +02:00
Faruk Kasumovic 1830efcb43 Merge branch 'sw-3.1' into dev 2018-06-29 13:18:55 +02:00
Faruk Kasumovic 7822f47737 PoolStatus to string conversion 2018-06-26 14:53:01 +02:00
Faruk Kasumovic 441e099de9 zpool online, offline and clear devices 2018-06-26 14:01:39 +02:00
Faruk Kasumovic 44a53fa2e4 Fix bug: Overlay property not updated 2018-04-12 11:27:31 +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 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 006e8a798a - Small fixes 2017-12-07 09:54:07 +01:00
Faruk Kasumovic a7726113d4 - Bug fixes for send recv, and mount 2017-08-04 13:12:41 +02:00
Faruk Kasumovic 307acf899a - Fix bug, zpool export failing 2017-08-04 13:12:12 +02:00
Faruk Kasumovic 1b47551b87 - ZFS send/receive 2017-06-15 14:12:39 +02: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 fa91900915 - Fix bug not fetching disk path in pool configuration when disk is unavailable (plugged off) 2017-04-25 13:24:34 +02:00
Faruk Kasumovic 89e00d6218 - Implement dataset/volume clone promote function 2017-03-17 14:22:17 +01: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 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
Faruk Kasumovic 631236eb5e Merge pull request #5 from ncabatoff/master
Fix bug where VDevTree.Stat wasn't being populated , add pool.RefreshStats and fix memory leaks
2016-07-20 16:35:07 +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 db4703b708 - Add properties from libzfs in 0.6.5 version 2015-10-28 11:00:08 +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 39d6835ce3 - LICENSE file is now replaced with LICENSE.md
So it fit GitHub established practice
2015-06-04 00:09:38 +02:00
fkasumovic 44640772b1 Update LICENSE.md 2015-06-04 00:05:13 +02:00
fkasumovic 49330dac1e Create LICENSE.md 2015-06-04 00:04:06 +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 65eb260be4 - Make dataset destroy returns meaningful error if dataset contains children
- Implementation of recursive dataset destroy DestroyRecursive()
2015-06-03 23:39:46 +02:00
Faruk Kasumovic fe306ffc28 - More updates to README to reflect change of project location 2015-04-20 10:55:04 +02:00
Faruk Kasumovic 5405c7568a - Update link to godoc in README to reflect change of project location. 2015-04-20 10:49:01 +02:00
Faruk Kasumovic e67132bb04 - Added list of main features to README, and small aperance improvements
Make LICENSE more easy to read on GitHub
2015-04-20 09:47:23 +02:00
Faruk Kasumovic be6ee0f8ab - Added list of main features to README, and small aperance improvements 2015-04-20 00:45:51 +02:00
Faruk Kasumovic 72f5b2a48f - Make LICENSE more easy to read on GitHub 2015-04-20 00:01:32 +02:00
Faruk Kasumovic 5cf1d35445 - GIT to ignore its local configuration 2015-04-19 23:33:38 +02:00
Faruk Kasumovic cf7673fe41 - Starting from here, already useful initial implementation :-) 2015-04-19 23:26:54 +02:00