This website requires JavaScript.
039b070d1a
- Prevent double-free failure when the same dataset is closed multiple times
master
Faruk Kasumovic
2020-09-09 10:22:37 +02:00
768fbf7f22
Add fetching of GUID in VDevTree
Faruk Kasumovic
2020-08-31 10:56:49 +02:00
ee9aac43ac
Fix dataset to have to correct type
Didier Roche and Faruk Kasumovic
2020-04-06 15:58:23 +02:00
a91df3a028
Error constants: fix typo, add as per libzfs.h 0.8.2 (#27 )
Anton Tykhyy and Faruk Kasumovic
2020-08-13 15:18:37 +03:00
06178df9fe
- Tests for SendSize returning 0 and unpacking resume token
faruk
2020-07-16 13:30:11 +02:00
d53f3530af
- Unpack resume information from resume token to go structure ResumeToken
faruk
2020-07-16 13:29:40 +02:00
680fd3ef89
- Fix: SendSize always returns 0 (SRW-1479)
faruk
2020-07-16 13:28:47 +02:00
5a4d618fa5
- Implemented pool initialization actions
asmir
2020-04-22 15:41:23 +02:00
e24c488fee
- Fix: Concurrent access to properties even for a different pools still cause crash
faruk
2020-02-12 08:35:49 +01:00
7c7ef79611
- Fix mount point property race condition causing segmentation fault failures
faruk
2020-02-10 11:12:46 +01:00
4dcea86954
- Fixed memory leak in zpool_vded.Clear
asmir and Gitea
2020-01-31 08:52:10 +01:00
5b0203da39
- Fixed memory leak in dataset_list_callb
asmir
2020-01-30 11:25:23 +01:00
e317057e63
- Enabled resumable flag
asmir and faruk
2020-01-17 14:00:56 +01:00
bcc079909a
Merge branch 'release/0.3.1'
faruk
2020-01-17 10:30:28 +01:00
a70a7a50a9
Merge branch 'master' into develop
faruk
2020-01-17 10:25:48 +01:00
1271596958
Remove SendOne since it does not make sense in context of this lib
faruk
2020-01-17 09:57:13 +01:00
e96fb8fdc2
Remove fmt.Println call from SendResume
faruk
2020-01-15 15:40:16 +01:00
cee262b95a
- Option to resume interrupted send
asmir and faruk
2019-12-10 15:37:02 +01:00
c0a3acfc99
- Return after failing in SetProperty (#21 )
Asmir Selimovic and faruk
2019-10-18 14:46:24 +02:00
5ffd9a7924
Remove SendOne since it does not make sense in context of this lib
faruk
2020-01-17 09:57:13 +01:00
ed6aa6ccd0
Remove fmt.Println call from SendResume
faruk
2020-01-15 15:40:16 +01:00
c346b62190
- Option to resume interrupted send
asmir and faruk
2019-12-10 15:37:02 +01:00
ac0486e24f
- Return after failing in SetProperty (#21 )
Asmir Selimovic and faruk
2019-10-18 14:46:24 +02:00
0f8f050563
Remove SendOne since it does not make sense in context of this lib
faruk
2020-01-17 09:57:13 +01:00
5ddc9a9d76
Remove SendOne since it does not make sense in context of this lib
faruk
2020-01-17 09:57:13 +01:00
6d31a0b04e
Merge tag 'vremove_println' into develop
faruk
2020-01-15 15:40:32 +01:00
46e9af7090
Merge branch 'hotfix/remove_println'
faruk
2020-01-15 15:40:32 +01:00
245ec09a3f
Remove fmt.Println call from SendResume
faruk
2020-01-15 15:40:16 +01:00
982839bda5
Merge branch 'master' into develop
faruk
2019-12-20 10:21:40 +01:00
9901e4a20c
- Option to resume interrupted send
asmir and faruk
2019-12-10 15:37:02 +01:00
c33afd1032
Merge branch 'master' into develop
faruk
2019-12-20 10:11:41 +01:00
119822040b
- Make SendOne compatible with libzfs 0.8
faruk
2019-09-19 10:20:56 +02:00
a21bc233c2
Avoiding the nice bytes representation (#26 )
Dario Tranchitella and Faruk Kasumovic
2019-12-19 08:29:16 +01:00
f0994c77ba
Force refreshing property on C side when ReloadProperties() (#24 )
Didier Roche and Faruk Kasumovic
2019-12-18 09:25:03 +01:00
e50663fa59
Maps ZPOOL_PROP_AUTOTRIM to PoolPropAutotrim (#20 )
Didier Roche and Faruk Kasumovic
2019-08-07 11:49:32 +02:00
8bf9664c9c
Merge branch 'dev-zfs-0.7.x'
faruk
2019-06-20 21:28:44 +02:00
29b1f8314d
Fix conflicting rlim64_t conflicting types (#17 )
Didier Roche and Faruk Kasumovic
2019-06-20 21:18:00 +02:00
b16d96b1a8
zfs 0.8 support (#15 )
steigr and Faruk Kasumovic
2019-06-20 21:17:31 +02:00
3805d8a4c1
Increase deadline timeout for estimating snapshot send size, from 15 to 60 seconds
faruk
2019-05-31 10:40:03 +02:00
9e6bcc9df5
Change how properties single linked list is released from memory
faruk
2019-03-07 18:55:59 +01:00
99406fb402
Merge branch 'dev-zfs-0.7.x'
faruk
2019-01-21 16:31:16 +01:00
8633d43e77
Use go mod for handling eventual go packages dependencies and builds outside of GOPATH
faruk
2019-01-21 16:29:40 +01:00
57e42e824f
DestroyPromote - recursive destroy dataset, but don’t destroy any dependent clones, promote them first
Faruk Kasumovic
2018-12-17 14:01:59 +01:00
7482756d85
Changes to build on musl/alpine
Faruk Kasumovic
2018-11-15 21:58:33 +01:00
145d6f8d7d
README update
Faruk Kasumovic
2018-11-09 19:24:36 +01:00
d7d3b1e9b7
Merge branch 'dev-zfs-0.7.x'
Faruk Kasumovic
2018-11-09 16:24:46 +01:00
6d3c5e3bd4
Prevent race condition on zfs-linux internal implementation of access to mnttab
Faruk Kasumovic
2018-11-09 16:08:20 +01:00
0d2d2cf113
Functions to set hold, release and list user references on snapshots
Faruk Kasumovic
2018-11-02 11:15:55 +01:00
951202b308
Force pool imports and call improved pool search handler
Faruk Kasumovic
2018-09-25 14:27:13 +02:00
ca2b45d22f
Make sure PoolImportSearch is properly initialized
Faruk Kasumovic
2018-09-18 14:22:29 +02:00
bcd0988597
Fix problem with from snapshot name interpretation on incremental syncs
Faruk Kasumovic
2018-08-15 20:23:12 +02:00
159184017a
Merge branch 'dev-zfs-0.6.5.x' into dev-zfs-0.7.x
Faruk Kasumovic
2018-08-06 14:54:47 +02:00
897b81a1af
Skip destroyed pools in zpool import
Faruk Kasumovic
2018-08-06 14:54:13 +02:00
21c2f90b27
Enable 0.7.x features per default
Faruk Kasumovic
2018-08-06 14:21:34 +02:00
fd4a79d895
Merge branch 'dev-zfs-0.7.x' of ssh://tuzla-git.local:2020/fkasumovic/go-libzfs into dev-zfs-0.7.x
Faruk Kasumovic
2018-08-06 14:06:18 +02:00
6d3dff30aa
Estimate snapshot send size
Faruk Kasumovic
2018-07-11 16:20:37 +02:00
6b01056691
Additional compatibility changes to work with libzfs 0.7.x
Faruk Kasumovic
2018-07-06 13:35:47 +02:00
c0f5b857fc
Port to zfs-0.7.x
Faruk Kasumovic
2018-07-02 14:37:54 +02:00
4cd8ea7346
Skip destroyed pools in pool import search
Faruk Kasumovic
2018-08-06 10:34:42 +02:00
46ec88c0a8
Estimate snapshot send size
Faruk Kasumovic
2018-07-11 16:20:37 +02:00
5d716ef4ec
Additional compatibility changes to work with libzfs 0.7.x
Faruk Kasumovic
2018-07-06 13:35:47 +02:00
c8b6755593
Port to zfs-0.7.x
Faruk Kasumovic
2018-07-02 14:37:54 +02:00
1830efcb43
Merge branch 'sw-3.1' into dev
Faruk Kasumovic
2018-06-29 13:18:55 +02:00
7822f47737
PoolStatus to string conversion
Faruk Kasumovic
2018-06-26 14:53:01 +02:00
441e099de9
zpool online, offline and clear devices
Faruk Kasumovic
2018-06-26 14:01:39 +02:00
44a53fa2e4
Fix bug: Overlay property not updated
Faruk Kasumovic
2018-04-12 11:27:31 +02:00
b1b9ae5efc
- Fix PoolImportSearch not listing pools that are not explicitly exported
Faruk Kasumovic
2018-04-10 13:45:02 +02:00
f5a73ad14f
Return logs (ZIL) vdev as well in VDevTree
Faruk Kasumovic
2018-03-28 10:24:47 +02:00
08a4903509
- Ability to create pool with spares, and l2cache
Faruk Kasumovic
2018-01-08 15:29:42 +01:00
006e8a798a
- Small fixes
Faruk Kasumovic
2017-12-07 09:54:07 +01:00
a7726113d4
- Bug fixes for send recv, and mount
Faruk Kasumovic
2017-08-04 13:12:41 +02:00
307acf899a
- Fix bug, zpool export failing
Faruk Kasumovic
2017-08-04 13:12:12 +02:00
1b47551b87
- ZFS send/receive
Faruk Kasumovic
2017-06-15 14:12:39 +02:00
8fd0833477
- Fix issue not building on go 1.8 , and some more improvements
Faruk Kasumovic
2017-06-02 08:42:14 +02:00
fa91900915
- Fix bug not fetching disk path in pool configuration when disk is unavailable (plugged off)
Faruk Kasumovic
2017-04-25 13:24:34 +02:00
89e00d6218
- Implement dataset/volume clone promote function
Faruk Kasumovic
2017-03-17 14:22:17 +01:00
07270bcff8
- Improved pointer handling between go and C and elimination of associated memory leaks and potential corruptions
Faruk Kasumovic
2017-02-23 11:29:17 +01:00
fe36016d7e
- Set and get user property
Faruk Kasumovic
2017-01-16 14:07:17 +01:00
5411c35d4b
- Constants for feature enabled/disabled
Faruk Kasumovic
2017-01-16 14:05:04 +01:00
a6fba76e81
- Fix remaining cgo CString memory leaks
Faruk Kasumovic
2016-07-26 21:14:28 +02:00
631236eb5e
Merge pull request #5 from ncabatoff/master
Faruk Kasumovic and GitHub
2016-07-20 16:35:07 +02:00
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.
Nick Cabatoff
2016-07-17 16:52:14 -04:00
cd589deb96
Add pool.RefreshStats() method, needed for iostat-like functionality.
Nick Cabatoff
2016-07-16 11:19:19 -04:00
6b7e0db4e7
Fix bug where VDevTree.Stat wasn't being populated because the wrong struct was being written to.
Nick Cabatoff
2016-07-15 19:49:43 -04:00
b49a2715c2
- Implemented: Search pools available to import but not imported AND Fetch imported pool's current vdev tree
Faruk Kasumovic
2015-12-10 21:29:39 +01:00
4f32480fa0
- Implemented PoolImportByGUID and renamed VDevSpec to VDevTree
Faruk Kasumovic
2015-12-06 21:54:43 +01:00
bc19737222
- Changes to make library interface more clear and to better suit go package standards
Faruk Kasumovic
2015-12-04 23:05:19 +01:00
db4703b708
- Add properties from libzfs in 0.6.5 version
Faruk Kasumovic
2015-10-28 11:00:08 +01:00
f7f90fe57f
- Pretty much completed set of examples and tests on 'pool' APIs implemented so far
Faruk Kasumovic
2015-06-11 00:51:46 +02:00
c1288a9a2e
- Improvements on properties, state and status handling of pool and dataset
Faruk Kasumovic
2015-06-09 14:26:35 +02:00
1d6e6a86cb
- Export and import pool examples
Faruk Kasumovic
2015-06-08 23:53:06 +02:00
507abac683
- Add argument to pool Export for history log string, hard force (ExportForce), export and import tests, and overall tests fixes and improvements
Faruk Kasumovic
2015-06-08 23:41:22 +02:00
39d6835ce3
- LICENSE file is now replaced with LICENSE.md So it fit GitHub established practice
Faruk Kasumovic
2015-06-04 00:08:20 +02:00
44640772b1
Update LICENSE.md
fkasumovic
2015-06-04 00:05:13 +02:00
49330dac1e
Create LICENSE.md
fkasumovic
2015-06-04 00:04:06 +02:00
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.
Faruk Kasumovic
2015-06-03 22:42:48 +02:00
65eb260be4
- Make dataset destroy returns meaningful error if dataset contains children - Implementation of recursive dataset destroy DestroyRecursive()
Faruk Kasumovic
2015-05-07 22:59:44 +02:00
fe306ffc28
- More updates to README to reflect change of project location
Faruk Kasumovic
2015-04-20 10:55:04 +02:00
5405c7568a
- Update link to godoc in README to reflect change of project location.
Faruk Kasumovic
2015-04-20 10:49:01 +02:00
e67132bb04
- Added list of main features to README, and small aperance improvements Make LICENSE more easy to read on GitHub
Faruk Kasumovic
2015-04-19 23:33:10 +02:00