Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: minor changes in fuse client config reference #13065

Merged
merged 3 commits into from
Feb 20, 2017

Conversation

baruza
Copy link
Contributor

@baruza baruza commented Jan 23, 2017

Signed-off-by: Bara Ancincova (bara@redhat.com)

Based on downstream changes tracked here: https://bugzilla.redhat.com/show_bug.cgi?id=1372236 reviewed by John Spray.

Signed-off-by: Bara Ancincova (bara@redhat.com)
@jcsp jcsp added cephfs Ceph File System documentation labels Jan 23, 2017
:Type: Integer
:Default: ``209715200`` (200MB)

``client_oc_target_dirty``

:Description: Target size of dirty data. It is recommended to keep this low.
:Description: Set the target size of corrupted data. We recommend to keep this number low.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like "corrupted" has crept back in here

(Ironically this is sort of a corruption itself :-))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh boy :) I had the same issue also in the downstream docs, so thank you for double checking.

This should be fixed with: 80db40f

Signed-off-by: Bara Ancincova (bara@redhat.com)
@baruza baruza force-pushed the wip-fuse-client-config-edits branch from f141ee5 to 80db40f Compare January 26, 2017 11:28
@tchaikov
Copy link
Contributor

@jcsp ping?

:Type: Integer
:Default: ``1000``

``client_oc_size``

:Description: Maximum size of cached data in the object cache.
:Description: Set how many megabytes of data will the client cache.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This setting isn't a megabyte count, it's a byte count

:Type: Float
:Default: ``1.0`` (seconds)

``client_trace``

:Description: Trace file path for all file operations. The output is designed to be used by the Ceph `synthetic client <../man/8/ceph-syn>`.
:Description: Trace the file path for all file operations. The output is designed to be used by the Ceph `synthetic client <../man/8/ceph-syn>`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Trace file path" was correct (it's the path to a file containing a trace)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this one should move down to "developer options" too

@@ -176,9 +176,17 @@
:Type: Boolean
:Default: ``false``

``fuse_default_permissions``

:Description: When set to ``true``, the FUSE client enforces permissions. When set to ``false``, the ``ceph-fuse`` utility enforces the permissions. Set to `false` together with the ``client acl type=posix_acl`` option to enable POSIX ACL.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's this is clearer if we say something like "When set to false, ceph-fuse does its own permissions checking, instead of relying on the permissions enforcement in FUSE. Set to false together with the client acl type=posix_acl option to enable POSIX ACL."

Stylistically it's always nicer to define things in terms of their 'true' meaning, but in this instance all the important effects are what happens when its set to false.

@@ -4,115 +4,115 @@

``client acl type``

:Description: Set to ``"posix_acl"`` to enable POSIX ACLs.
:Description: Set the ACL type. Currently, only possible value is ``"posix_acl"`` to enable POSIX ACL, or an empty string.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a note here that this only takes effect when fuse_default_permissions is false

:Type: String
:Default: ``""`` (N/A)
:Default: ``""`` (empty string)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The N/A was meant to mean "no ACL enforcement", i.e. just normal POSIX permissions.

:Type: Boolean
:Default: ``false``

``client_debug_getattr_caps``

:Description: Check if MDS reply contains wanted caps.
:Description: Check if the reply from the MDS contains required capabilities.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this down into developer options

:Type: Integer
:Default: ``4096``

``client_metadata``

:Description: Comma-delimited strings for client metadata sent to each MDS.
:Type: String
:Default: ``""`` (N/A)
:Default: ``""`` (empty string)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

N/A in this context meant "no additional metadata".

:Type: Boolean
:Default: ``true``

``client_max_inline_size``

:Description: Maximum size of inlined data stored in a file inode (rather than in a separate data object in RADOS). This setting only applies if the ``inline_data`` flag is set on the MDSMap.
:Description: Set the maximum size of inlined data stored in a file inode rather than in a separate data object in RADOS. This setting only applies if the ``inline_data`` flag is set on the MDS map.
:Type: Integer
:Default: ``4096``

``client_metadata``

:Description: Comma-delimited strings for client metadata sent to each MDS.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's extend this description to say "...to each MDS, in addition to the automatically generated version, hostname, etc"

@jcsp
Copy link
Contributor

jcsp commented Feb 15, 2017

@baruza apologies for the delay re-reviewing this, I have added some more comments

Signed-off-by: Bara Ancincova (bara@redhat.com)
@baruza baruza force-pushed the wip-fuse-client-config-edits branch from d93af14 to b6cad33 Compare February 16, 2017 09:50
@baruza
Copy link
Contributor Author

baruza commented Feb 16, 2017

@jcsp no problem :) I made the changes you requested. Hopefully, everything is ok now. (I also changed downstream docs)

@jcsp jcsp merged commit 41253bb into master Feb 20, 2017
@jcsp jcsp deleted the wip-fuse-client-config-edits branch February 20, 2017 13:34
@jcsp
Copy link
Contributor

jcsp commented Feb 20, 2017

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cephfs Ceph File System documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants