diff options
author | 2011-09-16 08:27:31 -0600 | |
---|---|---|
committer | 2011-09-16 09:16:22 -0700 | |
commit | c0d5f9db1c7d1b8a9e2f217706e8ea233bac2754 (patch) | |
tree | 1962a9bbd284e32a70486b8cc5a0babd2c7dc131 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libceph: fix leak of osd structs during shutdown (diff) | |
download | linux-dev-c0d5f9db1c7d1b8a9e2f217706e8ea233bac2754.tar.xz linux-dev-c0d5f9db1c7d1b8a9e2f217706e8ea233bac2754.zip |
libceph: initialize ack_stamp to avoid unnecessary connection reset
Commit 4cf9d544631c recorded when an outgoing ceph message was ACKed,
in order to avoid unnecessary connection resets when an OSD is busy.
However, ack_stamp is uninitialized, so there is a window between
when the message is sent and when it is ACKed in which handle_timeout()
interprets the unitialized value as an expired timeout, and resets
the connection unnecessarily.
Close the window by initializing ack_stamp.
Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions