Re: [PATCH v3 RESEND_2] scsi: report 'INQUIRY result too short' once per host

From: Martin K. Petersen
Date: Thu Nov 19 2015 - 08:45:32 EST


>>>>> "Vitaly" == Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> writes:

Vitaly> Some host adapters (e.g. Hyper-V storvsc) are known for not
Vitaly> respecting the SPC-2/3/4 requirement for 'INQUIRY data (see
Vitaly> table ...) shall contain at least 36 bytes'. As a result we get
Vitaly> tons on 'scsi 0:7:1:1: scsi scan: INQUIRY result too short (5),
Vitaly> using 36' messages on console. This can be problematic for slow
Vitaly> consoles. Introduce short_inquiry flag in struct Scsi_Host to
Vitaly> print the message once per host.

Applied to the 4.4 queue.

--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/