linux_dsm_epyc7002/net/ceph
Sage Weil df9f86faf3 ceph: fix small seq message skipping
If the client gets out of sync with the server message sequence number, we
normally skip low seq messages (ones we already received).  The skip code
was also incrementing the expected seq, such that all subsequent messages
also appeared old and got skipped, and an eventual timeout on the osd
connection.  This resulted in some lagging requests and console messages
like

[233480.882885] ceph: skipping osd22 10.138.138.13:6804 seq 2016, expected 2017
[233480.882919] ceph: skipping osd22 10.138.138.13:6804 seq 2017, expected 2018
[233480.882963] ceph: skipping osd22 10.138.138.13:6804 seq 2018, expected 2019
[233480.883488] ceph: skipping osd22 10.138.138.13:6804 seq 2019, expected 2020
[233485.219558] ceph: skipping osd22 10.138.138.13:6804 seq 2020, expected 2021
[233485.906595] ceph: skipping osd22 10.138.138.13:6804 seq 2021, expected 2022
[233490.379536] ceph: skipping osd22 10.138.138.13:6804 seq 2022, expected 2023
[233495.523260] ceph: skipping osd22 10.138.138.13:6804 seq 2023, expected 2024
[233495.923194] ceph: skipping osd22 10.138.138.13:6804 seq 2024, expected 2025
[233500.534614] ceph:  tid 6023602 timed out on osd22, will reset osd

Reported-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-01 15:49:23 -07:00
..
crush ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
armor.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_none.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_none.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_x_protocol.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_x.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_x.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
buffer.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_common.c ceph: don't crash when passed bad mount options 2010-10-20 15:38:22 -07:00
ceph_fs.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_hash.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
crypto.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
crypto.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c rbd: introduce rados block device (rbd), based on libceph 2010-10-20 15:38:13 -07:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
Makefile ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
messenger.c ceph: fix small seq message skipping 2010-11-01 15:49:23 -07:00
mon_client.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
msgpool.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
osd_client.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
osdmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
pagelist.c ceph: fix num_pages_free accounting in pagelist 2010-10-20 15:38:23 -07:00
pagevec.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00