Re: [PATCH] scsi: don't look for NULL devices handlers by name

From: Bart Van Assche
Date: Mon Mar 26 2018 - 19:00:42 EST


On Fri, 2018-03-23 at 14:37 +0100, Johannes Thumshirn wrote:
> Currently scsi_dh_lookup() doesn't check for NULL as a device
> name. This combined with nvme over dm-mapth results in the following
> messages emitted by device-mapper:
>
> device-mapper: multipath: Could not failover device 259:67: Handler scsi_dh_(null) error 14.
>
> Let scsi_dh_lookup() fail fast on NULL names.

Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>