ceph/src
Sam Lang fa66eaa162 mds: Reset session stale timer at end of open
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>
2012-10-08 10:58:07 -05:00
..
auth
bash_completion
client client: Fix assert when stale arrives before open 2012-10-05 16:12:32 -05:00
cls cls_refcount: fix uninit vals in ctor 2012-09-28 13:18:06 -07:00
common Add TextTable class for table output 2012-10-04 15:20:29 -07:00
crush crushtester: fix uninit var 2012-09-28 13:18:05 -07:00
doc
global pidfile: fix fd leak from pidfile_remove() 2012-09-28 13:18:05 -07:00
gtest
include utime: restore ostream state 2012-09-28 13:18:05 -07:00
jobs
json_spirit
key_value_store
leveldb@f2d406b421
librados Merge remote-tracking branch 'gh/wip-rbd-coverity 2012-09-25 22:31:23 -07:00
librbd librbd: fix error handling in get_parent_info 2012-10-04 15:20:29 -07:00
libs3@9dc3a9c683
log LogEntry: fix uninit in ctor 2012-09-28 13:18:05 -07:00
mds mds: Reset session stale timer at end of open 2012-10-08 10:58:07 -05:00
messages mon: avoid large pass by value in MForward 2012-09-29 01:35:36 -07:00
mon Merge remote-tracking branch 'gh/next' 2012-10-04 10:08:46 -07:00
mount
msg Merge remote-tracking branch 'gh/next' 2012-10-04 10:08:46 -07:00
objclass
objsync
ocf rbd: Use TextTable for showmapped and lock list 2012-10-04 16:20:13 -07:00
os filejournal: check lseek() return value on darwin 2012-10-02 10:42:50 -07:00
osd osdmap, mon: optional dump 'osd tree' in json 2012-10-02 10:42:50 -07:00
osdc objecter: fix dereference after null check 2012-09-28 13:18:06 -07:00
perfglue
pybind rbd.py: Fix docstring syntax of list_lockers(). 2012-10-04 14:54:17 -07:00
rgw rgw: check that realloc succeeded 2012-09-27 13:31:48 -07:00
script
test rbd: use TextTable to implement ls -l 2012-10-04 15:20:29 -07:00
tools ceph tool: document 'ceph osd map ...' command 2012-09-28 17:37:53 -07:00
upstart
.gitignore
barclass.cc
btrfs_ioc_test.c
ceph_authtool.cc
ceph_common.sh ceph_common.sh: 'hostname -s' (instead of cut ...) 2012-09-20 10:12:30 -07:00
ceph_conf.cc
ceph_fuse.cc client: Mods to fix #3184 for messenger shutdown 2012-09-27 14:34:29 -07:00
ceph_mds.cc
ceph_mon.cc
ceph_osd.cc
ceph_syn.cc client: Mods to fix #3184 for messenger shutdown 2012-09-27 14:34:29 -07:00
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 cephfs: Fix warning - use err instead of errno 2012-09-26 17:28:21 -07:00
check_version
cls_acl.cc
cls_crypto.cc
cls_rbd.cc Merge remote branch 'origin/wip-librbd-locking' 2012-09-18 16:06:25 -07:00
cmonctl
crushtool.cc
dupstore.cc
fetch_config
fooclass.cc
init-ceph.in
init-radosgw
libcephfs.cc libcephfs: destroy cmount on ceph_shutdown() 2012-10-01 21:08:27 -07:00
librados-config.cc
loadclass.sh
logrotate.conf logrotate: check for executables to avoid cron errors 2012-10-01 09:02:46 -07:00
make_version
Makefile.am rbd: use TextTable to implement ls -l 2012-10-04 15:20:29 -07:00
mkcephfs.in
monmaptool.cc
multi-dump.sh
osdmaptool.cc osdmap, mon: optional dump 'osd tree' in json 2012-10-02 10:42:50 -07:00
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 rados: fix error paths in do_put() 2012-09-28 13:18:06 -07:00
radosacl.cc
rbd.cc Revert "rbd: gracefully handle extra arguments" 2012-10-04 21:14:18 -07:00
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 vstart.sh: let you specific specific ip to bind to 2012-09-28 10:59:22 -07:00

Sage Weil <sage@newdream.net>
Ceph - scalable distributed storage system