mirror of https://github.com/ceph/go-ceph
rados: Make IOContext.Alignment stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
This commit is contained in:
parent
fd7a47b1c9
commit
6e051a520d
|
@ -1024,15 +1024,15 @@
|
|||
"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",
|
||||
"added_in_version": "v0.17.0",
|
||||
"became_stable_version": "v0.19.0"
|
||||
}
|
||||
],
|
||||
"preview_api": [
|
||||
},
|
||||
{
|
||||
"name": "IOContext.Alignment",
|
||||
"comment": "Alignment returns the required stripe size in bytes for pools supporting/requiring it, or an error if unsuccessful.\nFor an EC pool, a buffer size multiple of its stripe size is required to call Append. To know if the pool requires\nalignment or not, use RequiresAlignment.\n\nImplements:\n int rados_ioctx_pool_required_alignment2(rados_ioctx_t io, uint64_t *alignment)\n",
|
||||
"added_in_version": "v0.17.0",
|
||||
"expected_stable_version": "v0.19.0"
|
||||
},
|
||||
"became_stable_version": "v0.19.0"
|
||||
}
|
||||
],
|
||||
"preview_api": [
|
||||
{
|
||||
"name": "IOContext.RequiresAlignment",
|
||||
"comment": "RequiresAlignment returns true if the pool supports/requires alignment or an error if not successful.\nFor an EC pool, a buffer size multiple of its stripe size is required to call Append. See\nAlignment to know how to get the stripe size for pools requiring it.\n\nImplements:\n int rados_ioctx_pool_requires_alignment2(rados_ioctx_t io, int *req)\n",
|
||||
|
|
|
@ -16,7 +16,6 @@ No Preview/Deprecated APIs found. All APIs are considered stable.
|
|||
|
||||
Name | Added in Version | Expected Stable Version |
|
||||
---- | ---------------- | ----------------------- |
|
||||
IOContext.Alignment | v0.17.0 | v0.19.0 |
|
||||
IOContext.RequiresAlignment | v0.17.0 | v0.19.0 |
|
||||
|
||||
## Package: rbd
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
//go:build ceph_preview
|
||||
// +build ceph_preview
|
||||
|
||||
package rados
|
||||
|
||||
// #cgo LDFLAGS: -lrados
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
//go:build ceph_preview
|
||||
// +build ceph_preview
|
||||
|
||||
package rados
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in New Issue