ceph/doc/cephfs
Jeff Layton 3321cc7b37 mds: fold mds_revoke_cap_timeout into mds_session_timeout
Right now, we have two different timeout settings -- one for when the
client is just not responding at all (mds_session_timeout), and one for
when the client is otherwise responding but isn't returning caps in a
timely fashion (mds_cap_revoke_timeout).

The default settings on them are equivalent (60s), but only the
mds_session_timeout is communicated via the mdsmap. The
mds_cap_revoke_timeout is known only to the MDS. Neither timeout results
in anything other than warnings in the current codebase.

There is also a third setting (mds_session_autoclose) that is also
communicated via the MDSmap. Exceeding that value (default of 300s)
could eventually result in the client being blacklisted from the
cluster. The code to implement that doesn't exist yet, however.

The current codebase doesn't do any real sanity checking of these
timeouts, so the potential for admins to get them wrong is rather high.
It's hard to concoct a use-case where we'd want to warn about these
events at different intervals.

Simplify this by just removing the mds_cap_revoke_timeout setting, and
replace its use in the code with the mds_session_timeout. With that, the
client can at least determine when warnings might start showing up in
the MDS' logs.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2017-11-14 07:27:01 -05:00
..
administration.rst doc: extend mds deactivate docs 2017-07-21 18:48:20 +02:00
best-practices.rst
capabilities.rst
cephfs-journal-tool.rst
client-auth.rst doc/cephfs: Document ceph auth fs 2017-08-04 11:10:07 -04:00
client-config-ref.rst doc: typo fixes in doc/cephfs/client-config-ref.rst 2017-04-28 09:53:17 +08:00
createfs.rst doc/cephfs: add info on using EC pools with CephFS 2017-08-30 14:23:27 +01:00
dirfrags.rst mds: enable dirfrags by default in new filesystems 2017-03-28 23:26:51 +01:00
disaster-recovery.rst doc: add some docs about 'cephfs-data-scan scan_links' 2017-07-07 20:06:18 +08:00
eviction.rst mds: improve eviction usability and update docs 2017-05-23 05:22:17 -04:00
experimental-features.rst doc/cephfs: Removed contractions for ESL speakers. 2017-07-27 10:01:29 -07:00
file-layouts.rst doc: add example of setting pool in cephfs layout 2017-09-07 15:41:43 +02:00
fstab.rst Merge pull request #11448 from ledgr/change/mount_fuse_ceph_options_in_fs_mntops_and_python 2017-02-03 12:30:46 +01:00
full.rst
fuse.rst doc: how to specify filesystem for cephfs clients 2017-03-22 11:03:06 -04:00
hadoop.rst doc: update to new ceph fs commands 2017-02-09 21:20:04 -05:00
health-messages.rst mds: fold mds_revoke_cap_timeout into mds_session_timeout 2017-11-14 07:27:01 -05:00
index.rst doc/cephfs: add capabilities.rst to toc 2017-03-16 16:39:40 +08:00
journaler.rst doc/cephfs: Removed contractions for ESL speakers. 2017-07-27 10:01:29 -07:00
kernel.rst doc: how to specify filesystem for cephfs clients 2017-03-22 11:03:06 -04:00
mantle.rst doc/cephfs: Removed contractions for ESL speakers. 2017-07-27 10:01:29 -07:00
mds-config-ref.rst doc: rm stray ")" character from mds config ref 2017-10-10 15:11:46 -06:00
multimds.rst Merge pull request #15847 from jan--f/doc-fix-multimds-cmds 2017-08-29 22:19:59 -05:00
posix.rst Merge PR #17608 into master 2017-09-13 13:37:57 -07:00
quota.rst
standby.rst Merge pull request #12074 from batrick/i17604 2017-03-28 09:25:24 -04:00
troubleshooting.rst doc/cephfs: Removed contractions for ESL speakers. 2017-07-27 10:01:29 -07:00
upgrading.rst