mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
libceph: clean up con flags
Rename flags with CON_FLAG prefix, move the definitions into the c file, and (better) document their meaning. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
8dacc7da69
commit
4a86169208
2 changed files with 36 additions and 36 deletions
|
@ -106,16 +106,6 @@ struct ceph_msg_pos {
|
|||
#define BASE_DELAY_INTERVAL (HZ/2)
|
||||
#define MAX_DELAY_INTERVAL (5 * 60 * HZ)
|
||||
|
||||
/*
|
||||
* ceph_connection flag bits
|
||||
*/
|
||||
|
||||
#define LOSSYTX 0 /* we can close channel or drop messages on errors */
|
||||
#define KEEPALIVE_PENDING 3
|
||||
#define WRITE_PENDING 4 /* we have data ready to send */
|
||||
#define SOCK_CLOSED 11 /* socket state changed to closed */
|
||||
#define BACKOFF 15
|
||||
|
||||
/*
|
||||
* A single connection with another host.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue