cephfs: promote preview API for release v0.23.0

Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
Sven Anderson 2023-08-14 15:18:43 +02:00 committed by mergify[bot]
parent 533a0db386
commit 5875e7f74b
4 changed files with 6 additions and 13 deletions

View File

@ -1,6 +1,3 @@
//go:build ceph_preview
// +build ceph_preview
package cephfs
/*

View File

@ -1,6 +1,3 @@
//go:build ceph_preview
// +build ceph_preview
package cephfs
import (
@ -14,7 +11,7 @@ func TestMakeDirs(t *testing.T) {
defer fsDisconnect(t, mount)
dir1 := "/base/sub/way"
err := mount.MakeDirs(dir1, 0755)
err := mount.MakeDirs(dir1, 0o755)
assert.NoError(t, err)
defer func() {
assert.NoError(t, mount.RemoveDir("/base/sub/way"))

View File

@ -317,15 +317,15 @@
"comment": "SelectFilesystem selects a file system to be mounted. If the ceph cluster\nsupports more than one cephfs this optional function selects which one to\nuse. Can only be called prior to calling Mount. The name of the file system\nis not validated by this call - if the supplied file system name is not\nvalid then only the subsequent mount call will fail.\n\nImplements:\n\n\tint ceph_select_filesystem(struct ceph_mount_info *cmount, const char *fs_name);\n",
"added_in_version": "v0.20.0",
"became_stable_version": "v0.22.0"
}
],
"preview_api": [
},
{
"name": "MountInfo.MakeDirs",
"comment": "MakeDirs creates multiple directories at once.\n\nImplements:\n\n\tint ceph_mkdirs(struct ceph_mount_info *cmount, const char *path, mode_t mode);\n",
"added_in_version": "v0.21.0",
"expected_stable_version": "v0.23.0"
},
"became_stable_version": "v0.23.0"
}
],
"preview_api": [
{
"name": "MountInfo.Mknod",
"comment": "Mknod creates a regular, block or character special file.\n\nImplements:\n\n\tint ceph_mknod(struct ceph_mount_info *cmount, const char *path, mode_t mode,\n\t\t\t\t dev_t rdev);\n",

View File

@ -8,7 +8,6 @@
Name | Added in Version | Expected Stable Version |
---- | ---------------- | ----------------------- |
MountInfo.MakeDirs | v0.21.0 | v0.23.0 |
MountInfo.Mknod | v0.22.0 | v0.24.0 |
MountInfo.Futime | v0.22.0 | v0.24.0 |
MountInfo.Futimens | v0.22.0 | v0.24.0 |