mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
a8e5a2d593
During testing, it was discovered that when a device tries to attach to the
alua handler while in TPG state of transitioning, the alua_rtpg function will
wait for it to exit the state before allowing it to continue. As a result, if
the 60 second timeout expires, the alua handler will not attach to the device.
To fix this, I have introduced an input argument to alua_rtpg called
wait_for_transition. The idea is that it will wait for the transition to
complete before an activation (because the current TPG state has some bearing
in that case), but during a discovery if it is transitioning, it will not
wait, and will store the state as standby for the time being.
I believe the precedent exists for this from commit
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
scsi_dh_alua.c | ||
scsi_dh_emc.c | ||
scsi_dh_hp_sw.c | ||
scsi_dh_rdac.c | ||
scsi_dh.c |