Noah Watkins
85ccb42861
Merge pull request #12 from theanalyst/f/rw_xattr
...
ioctx: get/set xattr added
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-03-31 07:47:16 -07:00
Abhishek Lekshmanan
592900cb3a
ioctx: get/put xattr added
...
Added functions GetXattr & SetXattr for getting &/ setting xattrs on
objects in a pool
2015-03-31 15:10:17 +05:30
Noah Watkins
f5802b762b
Merge pull request #11 from scjalliance/master
...
Added NewConnWithUser to allow users other than the default
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-02-22 13:19:38 -08:00
Dusty Wilson
f8de1c7f5a
Added test for NewConnWithUser
2015-02-22 13:09:13 -08:00
Dusty Wilson
9c7193f3ad
Added NewConnWithUser to allow users other than the default
2015-02-22 02:54:06 -08:00
Noah Watkins
e703215356
Merge pull request #10 from giganteous/gofmt
...
style: run gofmt on all sources
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-02-11 13:28:25 -08:00
Kai Storbeck
0c6bdf8d59
run gofmt on all sources
2015-02-11 22:21:05 +01:00
Noah Watkins
d2c4761f9f
Merge pull request #9 from giganteous/moncommand
...
rados: Implement MonCommand
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-02-11 11:29:02 -08:00
Kai Storbeck
563c4eb06d
add some comments, drop reflect version
2015-02-11 20:13:35 +01:00
Kai Storbeck
1e0ea49819
Return a []byte pointing to the original C array
...
This was taken from an example on Go's own wiki (cgo page).
2015-02-11 19:56:41 +01:00
Kai Storbeck
ca76480b0b
implemment MonCommand
2015-02-10 22:11:37 +01:00
Kai Storbeck
a06dd37546
implement the MonCommand function
2015-02-10 21:13:56 +01:00
Noah Watkins
ed459df64f
Merge pull request #8 from noahdesu/nuke-rbd-aio
...
rbd: remove buggy aio interface
2015-02-09 11:07:09 -08:00
Noah Watkins
0d62c1455a
rbd: remove buggy aio interface
...
The AIO interface is not thread safe. There is an example of how to use
non-Go threads to make callback into Go found in the zookeepr api go
bindings.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-02-09 10:54:19 -08:00
Noah Watkins
a385a8d18d
Merge pull request #6 from lebauce/rbd-fixes
...
rbd: RBD fixes
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-15 08:01:58 -08:00
Sylvain Baubeau
edd909006b
rbd: add tests for read/write and snapshots
2015-01-15 15:19:20 +01:00
Sylvain Baubeau
5671536b12
rbd: clean images and pools in tests
2015-01-15 15:18:18 +01:00
Sylvain Baubeau
75e9c455a6
rbd: fix error handling for write, seek and flush
2015-01-15 15:15:31 +01:00
Sylvain Baubeau
921a14b17f
rbd: fix calls to wrong C functions
2015-01-15 15:13:53 +01:00
Noah Watkins
6fb5e09394
rbd: fix test
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-14 17:36:56 -08:00
Noah Watkins
9a1b29d02e
Merge remote-tracking branch 'lb/newrbd'
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-14 17:32:51 -08:00
Noah Watkins
f5bfcec122
fix go-rados -> go-ceph renames
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-14 17:30:46 -08:00
Sylvain Baubeau
e00f9bf1a8
lib: add full support for RADOS block devices
2015-01-15 00:44:26 +01:00
Noah Watkins
5ef4380a80
ci: fix travis status link
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-13 09:00:18 -08:00
Noah Watkins
c1fad23ca4
doc: project name change
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-13 08:34:02 -08:00
Noah Watkins
d58cbadae5
doc: update doc layouts
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-13 07:27:06 -08:00
Noah Watkins
140104d1c6
test: remove unused imports
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 23:24:40 -08:00
Noah Watkins
be2d82bd8f
test: add testify/assert dep
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 22:21:02 -08:00
Noah Watkins
ec33d6739a
ci: add librbd-dev dependency
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 22:18:31 -08:00
Noah Watkins
36974cdb67
test: add test for root package
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 22:15:42 -08:00
Noah Watkins
44c15bf439
rbd: add rbd package
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 22:15:32 -08:00
Noah Watkins
ac99e00c8e
ci: test in sub dirs
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 21:01:25 -08:00
Noah Watkins
94b23c6de7
doc: setup docs for multiple packages
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 20:57:40 -08:00
Noah Watkins
ae9281be81
rados: fix import path
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 20:54:17 -08:00
Noah Watkins
253495ee26
rados: move rados to its own package
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 20:54:02 -08:00
Noah Watkins
64ba2d55b6
ci: use stable release
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 20:35:31 -08:00
Noah Watkins
dc10ccc9a8
rados: use old object list api
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 17:29:29 -08:00
Noah Watkins
7f8267475e
ci: use ceph next tree
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 14:57:12 -08:00
Noah Watkins
ddde581874
rados: add support for object listing
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 14:52:10 -08:00
Noah Watkins
2b8309e816
rados: set reasonable default buf size
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 14:46:15 -08:00
Noah Watkins
573f0f1f38
rados: fix receiver name
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 13:00:12 -08:00
Noah Watkins
4b43b9e18a
rados: add get_pool_name
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 12:37:25 -08:00
Noah Watkins
5a248f6c81
rados: add rados_ioctx_pool_stat
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 12:13:59 -08:00
Noah Watkins
62e6137f1f
rados: add ioctx destroy method
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 11:37:30 -08:00
Noah Watkins
7316c3d70f
rados: rename pool to ioctx
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 11:33:02 -08:00
Noah Watkins
7ca7bc5376
doc: add doc file
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 11:11:46 -08:00
Noah Watkins
f2ebce042d
doc: fix formatting in README
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-12-03 21:05:59 -08:00
Noah Watkins
5d79dd9718
test: make read/write test simpler
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-12-03 21:05:18 -08:00
Noah Watkins
507dc20bc7
doc: add read/write example to readme
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-12-03 21:05:08 -08:00
Noah Watkins
04fbadc60d
test: add basic read/write test
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-12-03 20:47:47 -08:00