Re: [PATCH 1/7] block/nbd: Delete reconnect delay timer when done

2022-02-04 Thread Vladimir Sementsov-Ogievskiy
03.02.2022 19:30, Hanna Reitz wrote: We start the reconnect delay timer to cancel the reconnection attempt after a while. Once nbd_co_do_establish_connection() has returned, this attempt is over, and we no longer need the timer. Delete it before returning from nbd_reconnect_attempt(), so that

[PATCH 1/7] block/nbd: Delete reconnect delay timer when done

2022-02-03 Thread Hanna Reitz
We start the reconnect delay timer to cancel the reconnection attempt after a while. Once nbd_co_do_establish_connection() has returned, this attempt is over, and we no longer need the timer. Delete it before returning from nbd_reconnect_attempt(), so that it does not persist beyond the I/O