go-ceph/rados
Robert Vasek 3f9bcf03cc rados: simplified GetOmapStep and ReadOp.GetOmapValues
C strings that are passed in to rados_read_op_omap_get_vals2() are copied by
the function, see [1][2] for its implementation. It's therefore not necessary for
them to be owned by GetOmapStep. It's enough to construct and destruct them
in ReadOp.GetOmapValues.

[1] 2bd3dd512a/src/librados/librados_c.cc (L4334-L4358)
[2] 2bd3dd512a/src/include/rados/librados.hpp (L572-L587)
2022-03-09 14:02:56 +00:00
..
command_test.go rados: merge test case into standard tests file, removing luminous tag 2021-11-09 01:24:01 +00:00
command.go rados: add MonCommandTarget & MonCommandTargetWithInputBuffer functions 2020-05-27 13:38:07 -04:00
conn.go rados: naming conventions: disable revive naming check on old struct 2021-09-13 15:13:53 +00:00
doc.go rados: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
errors_test.go rados: use FormatErrorCode for formatting rados errors 2020-08-10 13:03:24 -04:00
errors.go rados: add an error to be used if data is requested too early 2021-01-12 14:47:30 +00:00
ioctx_nautilus_test.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
ioctx_nautilus.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
ioctx_octopus_test.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
ioctx_octopus.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
ioctx.go rados: naming conventions: disable revive naming check on old struct 2021-09-13 15:13:53 +00:00
object_iter.go rados: naming conventions: fix c_entry, c_namespace 2021-06-28 13:51:01 -04:00
omap.go rados: simplified GetOmapStep and ReadOp.GetOmapValues 2022-03-09 14:02:56 +00:00
operation_flags.go rados: add a file to expose librados operation flags to our rados pkg 2021-01-12 14:47:30 +00:00
operation_test.go rados: add test cases for basic operation types 2021-01-12 14:47:30 +00:00
operation.go rados: add withRefs type 2021-01-12 14:47:30 +00:00
rados_nautilus.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
rados_read_op_assert_version_test.go rados: implement binding for rados_{read,write}_op_assert_version 2022-02-08 14:29:21 +00:00
rados_read_op_assert_version.go rados: fix revive error 2022-02-08 15:17:34 +00:00
rados_set_locator_test.go rados: add wrapper to set locator key on IOContext (#651) 2022-03-05 15:43:02 +00:00
rados_set_locator.go rados: add wrapper to set locator key on IOContext (#651) 2022-03-05 15:43:02 +00:00
rados_test.go rados: remove unused constant 2021-09-16 13:47:56 +00:00
rados_write_op_assert_version_test.go rados: implement binding for rados_{read,write}_op_assert_version 2022-02-08 14:29:21 +00:00
rados_write_op_assert_version.go rados: fix revive error 2022-02-08 15:17:34 +00:00
rados_write_op_remove_test.go rados: implement binding for rados_write_op_remove 2022-02-07 23:08:33 +00:00
rados_write_op_remove.go rados: implement binding for rados_write_op_remove 2022-02-07 23:08:33 +00:00
rados_write_op_setxattr_test.go rados: implement binding for rados_write_op_setxattr 2022-02-08 19:35:32 +00:00
rados_write_op_setxattr.go rados: implement binding for rados_write_op_setxattr 2022-02-08 19:35:32 +00:00
rados.go rados: naming conventions: fix c_cluster_name, c_name 2021-06-28 13:51:01 -04:00
read_op_omap_get_vals_by_keys_test.go rados: implement binding for read_op_omap_get_vals_by_keys 2022-02-09 15:25:37 +00:00
read_op_omap_get_vals_by_keys.go rados: use rados_read_op_omap_get_vals_by_keys2() 2022-03-09 14:02:56 +00:00
read_op_read_test.go rados: implement binding for rados_read_op_read 2022-01-13 09:37:59 -05:00
read_op_read.go rados: implement binding for rados_read_op_read 2022-01-13 09:37:59 -05:00
read_op_test.go rados: remove errcheck linter warnings 2021-09-16 13:47:56 +00:00
read_op.go rados: simplified GetOmapStep and ReadOp.GetOmapValues 2022-03-09 14:02:56 +00:00
read_step.go rados: implement binding for rados_read_op_read 2022-01-13 09:37:59 -05:00
snapshot_test.go rados: remove gosimple linter warnings 2021-09-16 13:47:56 +00:00
snapshot.go rados: add wrapper for rados_ioctx_snap_set_read() function 2020-08-04 11:07:40 -04:00
watcher_test.go rados: implement watch/notify APIs 2022-02-10 07:38:07 +00:00
watcher.go rados: add warning logs to watcher callbacks 2022-03-03 15:06:20 +00:00
write_op_cmpext_test.go rados: declare WriteOp.CmpExt as stable 2022-02-14 16:50:27 +00:00
write_op_cmpext.go rados: declare WriteOp.CmpExt as stable 2022-02-14 16:50:27 +00:00
write_op_test.go rados: remove errcheck linter warnings 2021-09-16 13:47:56 +00:00
write_op.go rados: remove pointer arithmetic on C-buffers 2021-05-03 16:20:34 +00:00
write_step.go rados: add comment about missing pinning in writeStep 2021-11-15 21:47:09 +00:00