Skip to content

Commit

Permalink
cephfs: promote some file apis to stable
Browse files Browse the repository at this point in the history
Signed-off-by: John Mulligan <jmulligan@redhat.com>
  • Loading branch information
phlogistonjohn authored and mergify[bot] committed Oct 5, 2023
1 parent 70ddb1d commit 4fef2fe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
4 changes: 2 additions & 2 deletions cephfs/file_ops.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !nautilus && ceph_preview
// +build !nautilus,ceph_preview
//go:build !nautilus
// +build !nautilus

package cephfs

Expand Down
4 changes: 2 additions & 2 deletions cephfs/file_ops_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !nautilus && ceph_preview
// +build !nautilus,ceph_preview
//go:build !nautilus
// +build !nautilus

package cephfs

Expand Down
15 changes: 7 additions & 8 deletions docs/api-status.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
9 changes: 1 addition & 8 deletions docs/api-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4fef2fe

Please sign in to comment.