Re: [PATCHv2] scsi_dh_alua: suppress errors from unsupported devices

2017-08-10 Thread Hannes Reinecke
On 08/09/2017 06:08 PM, Christoph Hellwig wrote: >> index 0962fd5..c3aea06 100644 >> --- a/drivers/scsi/device_handler/scsi_dh_alua.c >> +++ b/drivers/scsi/device_handler/scsi_dh_alua.c >> @@ -1100,6 +1100,8 @@ static int alua_bus_attach(struct scsi_device *sdev) >> err =

Re: [PATCHv2] scsi_dh_alua: suppress errors from unsupported devices

2017-08-09 Thread Christoph Hellwig
> index 0962fd5..c3aea06 100644 > --- a/drivers/scsi/device_handler/scsi_dh_alua.c > +++ b/drivers/scsi/device_handler/scsi_dh_alua.c > @@ -1100,6 +1100,8 @@ static int alua_bus_attach(struct scsi_device *sdev) > err = alua_initialize(sdev, h); > if (err == SCSI_DH_NOMEM) >

[PATCHv2] scsi_dh_alua: suppress errors from unsupported devices

2017-08-08 Thread Hannes Reinecke
ALUA is only relevant for disk-like devices, so we shouldn't be printing out warning messages for other device types. Signed-off-by: Hannes Reinecke Reviewed-by: Johannes Thumshirn Reviewed-by: Bart Van Assche ---