commit | e80a52d14f868059e8ec790c9fae88cdb8a1df98 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Thu Feb 25 12:40:45 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Thu Feb 25 12:40:45 2010 -0800 |
tree | 8353f33245509d7c3bd7fb25f5c254df6db8db9b | |
parent | 161fd65ac934608345aed35226fc889ea3b0b500 [diff] |
ceph: fix connection fault STANDBY check Move any out_sent messages to out_queue _before_ checking if out_queue is empty and going to STANDBY, or else we may drop something that was never acked. And clean up the code a bit (less goto). Signed-off-by: Sage Weil <sage@newdream.net>