diff options
author | Sage Weil <sage@inktank.com> | 2012-07-31 01:21:17 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-31 03:15:32 +0200 |
commit | a53aab645c82f0146e35684b34692c69b5118121 (patch) | |
tree | c066e9d7a670af46a2282d88c4a8a51912a98c7c /block/bsg-lib.c | |
parent | libceph: (re)initialize bio_iter on start of message receive (diff) | |
download | linux-a53aab645c82f0146e35684b34692c69b5118121.tar.xz linux-a53aab645c82f0146e35684b34692c69b5118121.zip |
ceph: close old con before reopening on mds reconnect
When we detect a mds session reset, close the old ceph_connection before
reopening it. This ensures we clean up the old socket properly and keep
the ceph_connection state correct.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions