mirror of
https://github.com/ceph/go-ceph
synced 2025-01-08 23:10:08 +00:00
rados: Make IOContext.RequiresAlignment stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
This commit is contained in:
parent
6e051a520d
commit
44b8b10b97
@ -1030,16 +1030,15 @@
|
||||
"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",
|
||||
"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",
|
||||
"added_in_version": "v0.17.0",
|
||||
"expected_stable_version": "v0.19.0"
|
||||
"became_stable_version": "v0.19.0"
|
||||
}
|
||||
]
|
||||
],
|
||||
"preview_api": []
|
||||
},
|
||||
"rbd": {
|
||||
"deprecated_api": [
|
||||
|
@ -12,11 +12,7 @@ No Preview/Deprecated APIs found. All APIs are considered stable.
|
||||
|
||||
## Package: rados
|
||||
|
||||
### Preview APIs
|
||||
|
||||
Name | Added in Version | Expected Stable Version |
|
||||
---- | ---------------- | ----------------------- |
|
||||
IOContext.RequiresAlignment | v0.17.0 | v0.19.0 |
|
||||
No Preview/Deprecated APIs found. All APIs are considered stable.
|
||||
|
||||
## 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
Block a user