Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
43c7427d
Commit
43c7427d
authored
Jul 20, 2012
by
Sage Weil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libceph: clear all flags on con_close
Signed-off-by:
Sage Weil
<
sage@inktank.com
>
parent
4a861692
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
net/ceph/messenger.c
net/ceph/messenger.c
+2
-0
No files found.
net/ceph/messenger.c
View file @
43c7427d
...
@@ -528,6 +528,8 @@ void ceph_con_close(struct ceph_connection *con)
...
@@ -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_LOSSYTX
,
&
con
->
flags
);
/* so we retry next connect */
clear_bit
(
CON_FLAG_KEEPALIVE_PENDING
,
&
con
->
flags
);
clear_bit
(
CON_FLAG_KEEPALIVE_PENDING
,
&
con
->
flags
);
clear_bit
(
CON_FLAG_WRITE_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
);
reset_connection
(
con
);
con
->
peer_global_seq
=
0
;
con
->
peer_global_seq
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment