mirror of https://github.com/ceph/go-ceph
rados: Make IOContext.SetAllocationHint stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
This commit is contained in:
parent
1c78570f03
commit
efa832cdd0
|
@ -1012,15 +1012,15 @@
|
|||
{
|
||||
"name": "IOContext.SetLocator",
|
||||
"comment": "SetLocator sets the key for mapping objects to pgs within an io context.\nUntil a different locator key is set, all objects in this io context will be placed in the same pg.\nTo reset the locator, an empty string must be set.\n\nImplements:\n void rados_ioctx_locator_set_key(rados_ioctx_t io, const char *key);\n"
|
||||
}
|
||||
],
|
||||
"preview_api": [
|
||||
},
|
||||
{
|
||||
"name": "IOContext.SetAllocationHint",
|
||||
"comment": "SetAllocationHint sets allocation hint for an object. This is an advisory\noperation, it will always succeed (as if it was submitted with a\nLIBRADOS_OP_FLAG_FAILOK flag set) and is not guaranteed to do anything on\nthe backend.\n\nImplements:\n int rados_set_alloc_hint2(rados_ioctx_t io,\n const char *o,\n uint64_t expected_object_size,\n uint64_t expected_write_size,\n uint32_t flags);\n",
|
||||
"added_in_version": "v0.17.0",
|
||||
"expected_stable_version": "v0.19.0"
|
||||
},
|
||||
"became_stable_version": "v0.19.0"
|
||||
}
|
||||
],
|
||||
"preview_api": [
|
||||
{
|
||||
"name": "WriteOp.SetAllocationHint",
|
||||
"comment": "SetAllocationHint sets allocation hint for an object. This is an advisory\noperation, it will always succeed (as if it was submitted with a\nLIBRADOS_OP_FLAG_FAILOK flag set) and is not guaranteed to do anything on\nthe backend.\n\nImplements:\n void rados_write_op_set_alloc_hint2(rados_write_op_t write_op,\n uint64_t expected_object_size,\n uint64_t expected_write_size,\n uint32_t flags);\n",
|
||||
|
|
|
@ -16,7 +16,6 @@ No Preview/Deprecated APIs found. All APIs are considered stable.
|
|||
|
||||
Name | Added in Version | Expected Stable Version |
|
||||
---- | ---------------- | ----------------------- |
|
||||
IOContext.SetAllocationHint | v0.17.0 | v0.19.0 |
|
||||
WriteOp.SetAllocationHint | v0.17.0 | v0.19.0 |
|
||||
IOContext.Alignment | v0.17.0 | v0.19.0 |
|
||||
IOContext.RequiresAlignment | v0.17.0 | v0.19.0 |
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
//go:build ceph_preview
|
||||
// +build ceph_preview
|
||||
|
||||
package rados
|
||||
|
||||
// #cgo LDFLAGS: -lrados
|
||||
|
|
Loading…
Reference in New Issue