Skip to content
Snippets Groups Projects
Commit ffcec0e1 authored by Zach Brown's avatar Zach Brown Committed by Andy Grover
Browse files

RDS: don't call rds_conn_shutdown() from rds_conn_destroy()


rds_conn_shutdown() can return before the connection is shut down when
it encounters an existing state that it doesn't understand.  This lets
rds_conn_destroy() then start tearing down the conn from under paths
that are still using it.

It's more reliable the shutdown work and wait for krdsd to complete the
shutdown callback.  This stopped some hangs I was seeing where krdsd was
trying to shut down a freed conn.

Signed-off-by: default avatarZach Brown <zach.brown@oracle.com>
parent 5adb5bc6
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment