Re: [PATCH] scsi: core: Add BLIST_NO_ASK_VPD_SIZE for some VDASD

From: Martin K. Petersen
Date: Mon Mar 06 2023 - 17:15:16 EST



Lee,

> I know you had reservations about this approach, but the fact that
> another case has shown up where this patch helps means this isn’t just
> a one-off problem.
>
> I know the alternative was to have the code that reads mode pages just
> automatically handle all cases where the size was returned to zero,
> but I really prefer specifically listing “offending” hardware, rather
> than automatically covering for it.

I'm not particularly keen on either approach. But I'll take another look
today...

--
Martin K. Petersen Oracle Linux Engineering