Skip to content
Commit e80a52d1 authored by Sage Weil's avatar Sage Weil
Browse files

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: default avatarSage Weil <sage@newdream.net>
parent 161fd65a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment