On Tue, Aug 4, 2009 at 6:27 PM, Roland Dreier <[email protected]> wrote:
>
>  > An update: apparently it is possible to trigger scmnd->device == NULL even
>  > without triggering a prior IB CM disconnect. The following shell commands
>  > are sufficient to trigger the WARN_ON statement in the patch below:
>
>  > rmmod ib_srp
>  > modprobe ib_srp
>  > ibsrpdm -c | while read target_info; do echo "${target_info}"; echo
>  > "${target_info}" >/sys/class/infiniband_srp/srp-mlx4_0-1/add_target;
>  > done
>  > sg_reset -d ${srp_device}
>
> So in other words, just sg_reset on an SRP device triggers the warning?

By the way, Vladislav Bolkhovitin was so kind to inform me that this
issue is not specific to the SRP initiator. For more information, see
also http://thread.gmane.org/gmane.linux.scsi/26166.

Bart.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to