Thread (69 messages) 69 messages, 4 authors, 2015-10-27

Re: [PATCH v6 21/37] cxlflash: Correct behavior in device reset handler following EEH

From: Tomas Henzl <hidden>
Date: 2015-10-23 13:42:05
Also in: linux-scsi

On 21.10.2015 22:14, Matthew R. Ochs wrote:
When the device reset handler is entered while a reset operation
is taking place, the handler exits without actually sending a
reset (TMF) to the targeted device. This behavior is incorrect
as the device is not reset. Further complicating matters is the
fact that a success is returned even when the TMF was not sent.

To fix, the state is rechecked after coming out of the reset
state. When the state is normal, a TMF will be sent out.

Signed-off-by: Matthew R. Ochs <redacted>
Signed-off-by: Manoj N. Kumar <redacted>
Reviewed-by: Brian King <redacted>
Reviewed-by: Tomas Henzl <redacted>

Tomas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help