On Mon, Dec 19, 2016 at 03:33:27PM +0000, Bart Van Assche wrote:
> Please consider removing the sess_cmd_list loop. Any lookups in
> sess_cmd_list should be performed by the target core and not by a
> target driver. Are you aware that core_tmr_abort_task() performs a very
> similar lookup to the one above?

This was my first reaction as well, but it seems like qla2xxx hardware
doesn't pass up the LUN for an abort request.  If that's really the
case (which seems really odd to me) we'll need this loop.  If there is a
way to get the lun out of the hardware it would be preferable to make
use of that passed up lun.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to