go-ceph/rados
Joshua Baergen 9e340d1e4e rados: Make sure Conn isn't GC'd while it has dependant IOContexts.
Because we have a finalizer configured for Conn that cleans up Ceph
resources, it's important that we don't let it get GC'd before anything
that depends on it has been cleaned up. Since clients are free to hold a
reference to an IOContext without maintaining a reference to the
underlying Conn, we hold such a Conn reference within the IOContext to
signal this dependency to the Go GC.

Signed-off-by: Joshua Baergen <jbaergen@digitalocean.com>
2022-07-01 15:30:18 +00:00
..
command.go rados: add MonCommandTarget & MonCommandTargetWithInputBuffer functions 2020-05-27 13:38:07 -04:00
command_test.go rados: merge test case into standard tests file, removing luminous tag 2021-11-09 01:24:01 +00:00
conn.go rados: Make sure Conn isn't GC'd while it has dependant IOContexts. 2022-07-01 15:30:18 +00:00
doc.go rados: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
errors.go rados: add an error to be used if data is requested too early 2021-01-12 14:47:30 +00:00
errors_test.go rados: use FormatErrorCode for formatting rados errors 2020-08-10 13:03:24 -04:00
ioctx.go rados: Make sure Conn isn't GC'd while it has dependant IOContexts. 2022-07-01 15:30:18 +00:00
ioctx_nautilus.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
ioctx_nautilus_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_octopus_test.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
object_iter.go rados: naming conventions: fix c_entry, c_namespace 2021-06-28 13:51:01 -04:00
omap.go rados: use rados_write_op_omap_rm_keys2() 2022-03-09 14:02:56 +00:00
operation.go rados: add withRefs type 2021-01-12 14:47:30 +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
rados.go rados: naming conventions: fix c_cluster_name, c_name 2021-06-28 13:51:01 -04:00
rados_nautilus.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
rados_read_op_assert_version.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
rados_read_op_assert_version_test.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
rados_set_locator.go docs: remove all PREVIEW comments 2022-06-06 14:42:04 +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_test.go rados: adds null oid coverage to omap related tests 2022-04-21 19:27:09 +00:00
rados_write_op_assert_version.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
rados_write_op_assert_version_test.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
rados_write_op_remove.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
rados_write_op_remove_test.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
rados_write_op_setxattr.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
rados_write_op_setxattr_test.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
read_op.go rados: simplified GetOmapStep and ReadOp.GetOmapValues 2022-03-09 14:02:56 +00:00
read_op_omap_get_vals_by_keys.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
read_op_omap_get_vals_by_keys_test.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
read_op_read.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
read_op_read_test.go rados: various readop & writeop apis are now stable 2022-06-14 16:01:43 +00:00
read_op_test.go rados: remove errcheck linter warnings 2021-09-16 13:47:56 +00:00
read_step.go rados: implement binding for rados_read_op_read 2022-01-13 09:37:59 -05:00
snapshot.go rados: add wrapper for rados_ioctx_snap_set_read() function 2020-08-04 11:07:40 -04:00
snapshot_test.go rados: remove gosimple linter warnings 2021-09-16 13:47:56 +00:00
watcher.go rados: watcher apis are now stable 2022-06-14 16:01:43 +00:00
watcher_test.go rados: watcher apis are now stable 2022-06-14 16:01:43 +00:00
write_op.go rados: use rados_write_op_omap_rm_keys2() 2022-03-09 14:02:56 +00:00
write_op_cmpext.go rados: declare WriteOp.CmpExt as stable 2022-02-14 16:50:27 +00:00
write_op_cmpext_test.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_step.go rados: add comment about missing pinning in writeStep 2021-11-15 21:47:09 +00:00