mirror of
https://github.com/ceph/ceph
synced 2024-12-27 05:53:20 +00:00
3321cc7b37
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> |
||
---|---|---|
.. | ||
cephfs | ||
mgr | ||
tests | ||
util | ||
__init__.py | ||
admin_socket.py | ||
autotest.py | ||
aver.py | ||
blktrace.py | ||
boto.cfg.template | ||
calamari_nosetests.py | ||
calamari_setup.py | ||
cbt.py | ||
ceph_client.py | ||
ceph_deploy.py | ||
ceph_fuse.py | ||
ceph_manager.py | ||
ceph_objectstore_tool.py | ||
ceph_test_case.py | ||
ceph.py | ||
cephfs_test_runner.py | ||
check_counter.py | ||
cifs_mount.py | ||
cram.py | ||
create_verify_lfn_objects.py | ||
devstack.py | ||
die_on_err.py | ||
divergent_priors2.py | ||
divergent_priors.py | ||
dnsmasq.py | ||
dump_stuck.py | ||
ec_lost_unfound.py | ||
exec_on_cleanup.py | ||
filestore_idempotent.py | ||
kclient.py | ||
keystone.py | ||
locktest.py | ||
logrotate.conf | ||
lost_unfound.py | ||
manypools.py | ||
mds_creation_failure.py | ||
mds_thrash.py | ||
metadata.yaml | ||
mon_clock_skew_check.py | ||
mon_recovery.py | ||
mon_seesaw.py | ||
mon_thrash.py | ||
multibench.py | ||
object_source_down.py | ||
omapbench.py | ||
osd_backfill.py | ||
osd_failsafe_enospc.py | ||
osd_recovery.py | ||
peer.py | ||
peering_speed_test.py | ||
populate_rbd_pool.py | ||
qemu.py | ||
rados.py | ||
radosbench.py | ||
radosbenchsweep.py | ||
radosgw_admin_rest.py | ||
radosgw_admin.py | ||
rbd_fio.py | ||
rbd_fsx.py | ||
rbd_mirror.py | ||
rbd.py | ||
rebuild_mondb.py | ||
recovery_bench.py | ||
reg11184.py | ||
rep_lost_unfound_delete.py | ||
repair_test.py | ||
resolve_stuck_peering.py | ||
rest_api.py | ||
restart.py | ||
rgw_logsocket.py | ||
rgw_multi | ||
rgw_multisite_tests.py | ||
rgw_multisite.py | ||
rgw.py | ||
s3a_hadoop.py | ||
s3readwrite.py | ||
s3roundtrip.py | ||
s3tests.py | ||
samba.py | ||
scrub_test.py | ||
scrub.py | ||
swift.py | ||
systemd.py | ||
tempest.py | ||
teuthology_integration.py | ||
tgt.py | ||
thrash_pool_snaps.py | ||
thrashosds-health.yaml | ||
thrashosds.py | ||
tox.py | ||
userdata_setup.yaml | ||
userdata_teardown.yaml | ||
vstart_runner.py | ||
watch_notify_same_primary.py | ||
watch_notify_stress.py | ||
workunit.py |