diff options
author | 2015-08-11 19:22:25 -0300 | |
---|---|---|
committer | 2015-08-17 16:22:21 -0500 | |
commit | 00dcffaebf7b4ab0524c56694c22de6b0eb22feb (patch) | |
tree | aa30d58d5a2a9616c09f6ec289c9c967568e67a3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dlm: replace BUG_ON with a less severe handling (diff) | |
download | linux-dev-00dcffaebf7b4ab0524c56694c22de6b0eb22feb.tar.xz linux-dev-00dcffaebf7b4ab0524c56694c22de6b0eb22feb.zip |
dlm: fix reconnecting but not sending data
There are cases on which lowcomms_connect_sock() is called directly,
which caused the CF_WRITE_PENDING flag to not bet set upon reconnect,
specially on send_to_sock() error handling. On this last, the flag was
already cleared and no further attempt on transmitting would be done.
As dlm tends to connect when it needs to transmit something, it makes
sense to always mark this flag right after the connect.
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions