commit | 49659416ba4fa8308bd29e453f54c3bcf8a0fbf1 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Tue Feb 19 12:25:57 2013 -0600 |
committer | Alex Elder <elder@inktank.com> | Mon Feb 25 15:37:37 2013 -0600 |
tree | 45ef273049a461489baf3de188f57a544fef2be9 | |
parent | b6e7b6a11923bda6102b4e3e196693567944869c [diff] |
libceph: use a do..while loop in con_work() This just converts a manually-implemented loop into a do..while loop in con_work(). It also moves handling of EAGAIN inside the blocks where it's already been determined an error code was returned. Also update a few dout() calls near the affected code for consistency. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>