mirror of https://github.com/ceph/go-ceph
cephfs: promote preview API for release v0.23.0
Signed-off-by: Sven Anderson <sven@redhat.com>
This commit is contained in:
parent
533a0db386
commit
5875e7f74b
|
@ -1,6 +1,3 @@
|
|||
//go:build ceph_preview
|
||||
// +build ceph_preview
|
||||
|
||||
package cephfs
|
||||
|
||||
/*
|
||||
|
|
|
@ -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"))
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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 |
|
||||
|
|
Loading…
Reference in New Issue