mirror of
https://github.com/ceph/ceph
synced 2025-01-22 02:54:47 +00:00
fa66eaa162
The mds gets an open session request and immediately sets the session stale timer. If logging the session and sending the reply takes longer than the timer, the client sees a stale session message before getting the open session reply. This fix resets the session stale timer on completion of the mds logging operation to reduce the likelihood of the session getting marked stale before the client can receive the open session reply and start sending renewcaps messages. We reset the session timer for renewcaps and force_open_sessions right before returning the SESSION_OPEN reply to the client. This avoids stale sessions in the cases where the mds is highly loaded and the session_open reply back to the client is delayed. Signed-off-by: Sam Lang <sam.lang@inktank.com> |
||
---|---|---|
.. | ||
auth | ||
bash_completion | ||
client | ||
cls | ||
common | ||
crush | ||
doc | ||
global | ||
gtest | ||
include | ||
jobs | ||
json_spirit | ||
key_value_store | ||
leveldb@f2d406b421 | ||
librados | ||
librbd | ||
libs3@9dc3a9c683 | ||
log | ||
mds | ||
messages | ||
mon | ||
mount | ||
msg | ||
objclass | ||
objsync | ||
ocf | ||
os | ||
osd | ||
osdc | ||
perfglue | ||
pybind | ||
rgw | ||
script | ||
test | ||
tools | ||
upstart | ||
.gitignore | ||
barclass.cc | ||
btrfs_ioc_test.c | ||
ceph_authtool.cc | ||
ceph_common.sh | ||
ceph_conf.cc | ||
ceph_fuse.cc | ||
ceph_mds.cc | ||
ceph_mon.cc | ||
ceph_osd.cc | ||
ceph_syn.cc | ||
ceph_ver.c | ||
ceph-clsinfo | ||
ceph-coverage.in | ||
ceph-create-keys | ||
ceph-debugpack.in | ||
ceph-disk-activate | ||
ceph-disk-prepare | ||
ceph-rbdnamer | ||
ceph-run | ||
ceph.conf.twoosds | ||
cephfs.cc | ||
check_version | ||
cls_acl.cc | ||
cls_crypto.cc | ||
cls_rbd.cc | ||
cmonctl | ||
crushtool.cc | ||
dupstore.cc | ||
fetch_config | ||
fooclass.cc | ||
init-ceph.in | ||
init-radosgw | ||
libcephfs.cc | ||
librados-config.cc | ||
loadclass.sh | ||
logrotate.conf | ||
make_version | ||
Makefile.am | ||
mkcephfs.in | ||
monmaptool.cc | ||
multi-dump.sh | ||
osdmaptool.cc | ||
ps-ceph.pl | ||
psim.cc | ||
push_to_kclient.pl | ||
push_to_qemu.pl | ||
rados_export.cc | ||
rados_import.cc | ||
rados_sync.cc | ||
rados_sync.h | ||
rados.cc | ||
radosacl.cc | ||
rbd.cc | ||
README | ||
sample.ceph.conf | ||
scratchtool.c | ||
scratchtoolpp.cc | ||
stop.sh | ||
streamtest.cc | ||
test_trans.cc | ||
testclass.cc | ||
testcrypto.cc | ||
testkeys.cc | ||
testmsgr.cc | ||
TODO | ||
valgrind.supp | ||
verify-mds-journal.sh | ||
vstart.sh |
Sage Weil <sage@newdream.net> Ceph - scalable distributed storage system