Commit Graph

14 Commits

Author SHA1 Message Date
Kefu Chai
79e8c4f9e8 doc/cephfs: render options using confval directive
less repeating, better maintainability this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-02 17:48:31 +08:00
Anthony D'Atri
21d68cf137 doc: standardize config option names to use interstitial underscores
Ceph config option names may use spaces, underscores, or by one reference hyphens
as interstitial separators. Most usage within the doc tree uses underscores,
though example conf files and especially structured lists of options mostly
use spaces. Mostly. Underscores help differentiate the config names from
surrounding text, and moreover facilitate scripting, grep, awk, etc and match
their form in src/common/options.cc.

This PR conforms these occurrences of option names to use interstitial underscores instead of spaces.

Fixes: https://tracker.ceph.com/issues/48301
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-12-15 13:55:38 -08:00
Venky Shankar
6373f8c763 doc: add config help/get/set section for runtime client configuration
Fixes: http://tracker.ceph.com/issues/41688
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2019-12-17 04:52:16 -05:00
Yan, Zheng
eb57c3b6f2 doc: add description for fuse_disable_pagecache
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/16300
2019-11-27 14:44:44 +08:00
huanwen ren
8dbc5c9d1c client: add the fuse parameter max_write
This parameter has the following 2 advantages:
1. FUSE(version > 2.8) the default single IO write size is 128k (controlled by max_write), if I use bs=4M in the FIO tool test,
   you will find that 4*1024k/128=32 is needed, ie 32 IO operations are needed . If I adjust max_write to 4M,
   only one operation is needed, which greatly improves the write performance of cephfs during fuse mount.
   Of course, the above implementation requires libfuse and kernel fuse to support.
2. In addition, we can also limit the single IO write size by setting max_write to less than 128K.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2018-03-19 11:23:05 +08:00
huanwen ren
78c3dfdf32 doc/client: uniform naming
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2018-01-29 18:24:05 +08:00
Patrick Donnelly
61215892d4
doc: clarify type of client in config ref
The kernel configuration is different.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-14 12:37:17 -08:00
Drunkard Zhang
ab0310883e doc: typo fixes in doc/cephfs/client-config-ref.rst
fixed:
  Reference symbol, i.e. s/`/``/
  Hyperlink typo at ``client_trace``

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-04-28 09:53:17 +08:00
Henrik Korkuc
e0bbc70467 client/Client.cc: add feature to reconnect client after MDS reset
Client.cc marks session as stale instead of reconecting after received
reset from MDS. On MDS side session is closed so MDS is ignoring cap
renew. This adds option to reconnect stale client sessions instead of
just marking sessions stale.

Fixes: http://tracker.ceph.com/issues/18757

Signed-off-by: Henrik Korkuc <henrik@kirneh.eu>
2017-04-12 15:27:12 +03:00
Kefu Chai
e423f0b597 doc: cephfs: fix the unexpected indent warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-21 13:47:09 +08:00
Barbora Ančincová
b6cad3364c doc: additional edits in FUSE client config
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-02-16 10:49:24 +01:00
Barbora Ančincová
80db40f855 doc: Dirty data are not the same as corrupted data
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-01-26 12:26:51 +01:00
Barbora Ančincová
e57605681f doc: minor changes in fuse client config reference
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-01-23 16:34:55 +01:00
Patrick Donnelly
9ad2ccf298
doc: add client config ref
Fixes: http://tracker.ceph.com/issues/16743

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-07-27 17:21:40 -04:00