Re: [PATCH] scsi: libiscsi: Allow sd_shutdown on bad transport

2017-12-08 Thread Rafael David Tinoco
would be happy to. Best, -Rafael > On 08/12/2017, at 09:12 PM, Bart Van Assche wrote: > > On Thu, 2017-12-07 at 19:59 -0200, Rafael David Tinoco wrote: >> This happens because iscsi_eh_cmd_timed_out(), the transport layer >> timeout helper, would tell the queue timeout fun

Re: [PATCH] scsi: libiscsi: Allow sd_shutdown on bad transport

2017-12-08 Thread Rafael David Tinoco
llows OS to reboot and shutdown, back again, independently of how bad userland was configured. Thank you in advance for considering it. -Rafael > On 07/12/2017, at 07:59 PM, Rafael David Tinoco > wrote: > > If, for any reason, userland shuts down iscsi transport interfaces > b

[PATCH] scsi: libiscsi: Allow sd_shutdown on bad transport

2017-12-07 Thread Rafael David Tinoco
due to the first timeout during the server shutdown phase, all subsequent cmds will fail to be queued, allowing upper logic to fail faster. Signed-off-by: Rafael David Tinoco --- drivers/scsi/libiscsi.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/