From 4fef2fe1b17c5f18fbd9fc8272ac3891a18827ca Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 3 Oct 2023 10:12:10 -0400 Subject: [PATCH] cephfs: promote some file apis to stable Signed-off-by: John Mulligan --- cephfs/file_ops.go | 4 ++-- cephfs/file_ops_test.go | 4 ++-- docs/api-status.json | 15 +++++++-------- docs/api-status.md | 9 +-------- 4 files changed, 12 insertions(+), 20 deletions(-) diff --git a/cephfs/file_ops.go b/cephfs/file_ops.go index df2769efc2..4c3c5e34ad 100644 --- a/cephfs/file_ops.go +++ b/cephfs/file_ops.go @@ -1,5 +1,5 @@ -//go:build !nautilus && ceph_preview -// +build !nautilus,ceph_preview +//go:build !nautilus +// +build !nautilus package cephfs diff --git a/cephfs/file_ops_test.go b/cephfs/file_ops_test.go index 84f99d8743..4314973a5d 100644 --- a/cephfs/file_ops_test.go +++ b/cephfs/file_ops_test.go @@ -1,5 +1,5 @@ -//go:build !nautilus && ceph_preview -// +build !nautilus,ceph_preview +//go:build !nautilus +// +build !nautilus package cephfs diff --git a/docs/api-status.json b/docs/api-status.json index fdc3422b42..5386d7abba 100644 --- a/docs/api-status.json +++ b/docs/api-status.json @@ -323,34 +323,33 @@ "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", "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", "added_in_version": "v0.22.0", - "expected_stable_version": "v0.24.0" + "became_stable_version": "v0.24.0" }, { "name": "MountInfo.Futime", "comment": "Futime changes file/directory last access and modification times.\n\nImplements:\n\n\tint ceph_futime(struct ceph_mount_info *cmount, int fd, struct utimbuf *buf);\n", "added_in_version": "v0.22.0", - "expected_stable_version": "v0.24.0" + "became_stable_version": "v0.24.0" }, { "name": "MountInfo.Futimens", "comment": "Futimens changes file/directory last access and modification times, here times param\nis an array of Timespec struct having length 2, where times[0] represents the access time\nand times[1] represents the modification time.\n\nImplements:\n\n\tint ceph_futimens(struct ceph_mount_info *cmount, int fd, struct timespec times[2]);\n", "added_in_version": "v0.22.0", - "expected_stable_version": "v0.24.0" + "became_stable_version": "v0.24.0" }, { "name": "MountInfo.Futimes", "comment": "Futimes changes file/directory last access and modification times, here times param\nis an array of Timeval struct type having length 2, where times[0] represents the access time\nand times[1] represents the modification time.\n\nImplements:\n\n\tint ceph_futimes(struct ceph_mount_info *cmount, int fd, struct timeval times[2]);\n", "added_in_version": "v0.22.0", - "expected_stable_version": "v0.24.0" + "became_stable_version": "v0.24.0" } - ] + ], + "preview_api": [] }, "cephfs/admin": { "stable_api": [ diff --git a/docs/api-status.md b/docs/api-status.md index 064a1d247f..5455e218bb 100644 --- a/docs/api-status.md +++ b/docs/api-status.md @@ -4,14 +4,7 @@ ## Package: cephfs -### Preview APIs - -Name | Added in Version | Expected Stable Version | ----- | ---------------- | ----------------------- | -MountInfo.Mknod | v0.22.0 | v0.24.0 | -MountInfo.Futime | v0.22.0 | v0.24.0 | -MountInfo.Futimens | v0.22.0 | v0.24.0 | -MountInfo.Futimes | v0.22.0 | v0.24.0 | +No Preview/Deprecated APIs found. All APIs are considered stable. ## Package: cephfs/admin