From 9eb24e9f67b1aefdafec1acebc6f3c7146acc3d8 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Thu, 8 Jun 2023 11:00:15 +0530 Subject: [PATCH] cephfs: Make MountInfo.SelectFilesystem stable Signed-off-by: Anoop C S --- cephfs/select_fs.go | 3 --- cephfs/select_fs_test.go | 3 --- docs/api-status.json | 12 ++++++------ docs/api-status.md | 1 - 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/cephfs/select_fs.go b/cephfs/select_fs.go index d2b0df7..d776ee7 100644 --- a/cephfs/select_fs.go +++ b/cephfs/select_fs.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package cephfs /* diff --git a/cephfs/select_fs_test.go b/cephfs/select_fs_test.go index 83d91ec..893c516 100644 --- a/cephfs/select_fs_test.go +++ b/cephfs/select_fs_test.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package cephfs import ( diff --git a/docs/api-status.json b/docs/api-status.json index 5f6fa56..b72e97e 100644 --- a/docs/api-status.json +++ b/docs/api-status.json @@ -311,15 +311,15 @@ { "name": "UserPerm.Destroy", "comment": "Destroy will explicitly free ceph resources associated with the UserPerm.\n\nImplements:\n void ceph_userperm_destroy(UserPerm *perm);\n" + }, + { + "name": "MountInfo.SelectFilesystem", + "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.SelectFilesystem", - "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 int ceph_select_filesystem(struct ceph_mount_info *cmount, const char *fs_name);\n", - "added_in_version": "v0.20.0", - "expected_stable_version": "v0.22.0" - }, { "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", diff --git a/docs/api-status.md b/docs/api-status.md index 64ada04..3d09f01 100644 --- a/docs/api-status.md +++ b/docs/api-status.md @@ -8,7 +8,6 @@ Name | Added in Version | Expected Stable Version | ---- | ---------------- | ----------------------- | -MountInfo.SelectFilesystem | v0.20.0 | v0.22.0 | MountInfo.MakeDirs | v0.21.0 | v0.23.0 | MountInfo.Mknod | v0.22.0 | v0.24.0 | MountInfo.Futime | v0.22.0 | v0.24.0 |