From 458f40357560219d45ae7f647670a6c5d52c3436 Mon Sep 17 00:00:00 2001 From: Christopher Hoffman Date: Wed, 13 Aug 2025 16:10:12 +0000 Subject: [PATCH] doc/cephfs, qa/cephfs: Reword some documentation. Reword some documentation for enctag and mount.py function descriptions. Signed-off-by: Christopher Hoffman --- doc/cephfs/fs-volumes.rst | 2 +- qa/tasks/cephfs/mount.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/cephfs/fs-volumes.rst b/doc/cephfs/fs-volumes.rst index e424a35184a..e3a6ef6c173 100644 --- a/doc/cephfs/fs-volumes.rst +++ b/doc/cephfs/fs-volumes.rst @@ -351,7 +351,7 @@ file. The case of the file name used when the file was created is preserved. .. note:: Setting ``--casesensitive=0`` option implicitly enables unicode normalization on the subvolume. -A separate encryption tag is available for use with encryption. This is to be used tagging the subvolume, with +A separate encryption tag is available for use with encryption. This is to be used tagging the subvolume with an identifier that is useful for system administrators or other services. By default, the tag is empty. This tag is not required, but can be a useful step in setting up encrypted subvolumes. diff --git a/qa/tasks/cephfs/mount.py b/qa/tasks/cephfs/mount.py index e7bf5e13456..81ec076545d 100644 --- a/qa/tasks/cephfs/mount.py +++ b/qa/tasks/cephfs/mount.py @@ -1510,7 +1510,7 @@ class CephFSMountBase(object): def lchown(self, fs_path, uid, gid): """ - Change ownership of a link with uid and gid provided. + Change the ownership of a link with the provided UID and GID. """ abs_path = os.path.join(self.hostfs_mntpt, fs_path) @@ -1528,7 +1528,7 @@ class CephFSMountBase(object): def symlink(self, fs_path, symlink_path): """ - Change ownership of a link with uid and gid provided. + Create a symlink to the provided file/path with the provided name. """ src_path = os.path.join(self.hostfs_mntpt, fs_path) @@ -1547,7 +1547,7 @@ class CephFSMountBase(object): def copy_file_range(self, src, dest, length): """ - Truncate a file of certain size + Copy a portion of data from src file to dest file. """ src_path = os.path.join(self.hostfs_mntpt, src) @@ -1611,7 +1611,7 @@ class CephFSMountBase(object): def touch_os(self, fs_path): """ - Create a dentry if it doesn't already exist. Use open in os module. + Create a dentry if it doesn't already exist. Uses the open method in the os module. :param fs_path: :return: -- 2.39.5