mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
libceph: clear all flags on con_close
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
4a86169208
commit
43c7427d10
@ -528,6 +528,8 @@ void ceph_con_close(struct ceph_connection *con)
|
||||
clear_bit(CON_FLAG_LOSSYTX, &con->flags); /* so we retry next connect */
|
||||
clear_bit(CON_FLAG_KEEPALIVE_PENDING, &con->flags);
|
||||
clear_bit(CON_FLAG_WRITE_PENDING, &con->flags);
|
||||
clear_bit(CON_FLAG_KEEPALIVE_PENDING, &con->flags);
|
||||
clear_bit(CON_FLAG_BACKOFF, &con->flags);
|
||||
|
||||
reset_connection(con);
|
||||
con->peer_global_seq = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user