Re: [resend v1 5/5] drivers/scsi/sd.c: Convert to use disk_set_capacity

From: Martin K. Petersen
Date: Mon Jan 06 2020 - 23:40:16 EST


>> We already emit an SDEV_EVT_CAPACITY_CHANGE_REPORTED event if device
>> capacity changes. However, this event does not automatically cause
>> revalidation.
> Which I seem to remember was a deliberate choice: some change
> capacities occur because the path goes passive and default values get
> installed.

Yep, it's very tricky territory.

Martin K. Petersen Oracle Linux Engineering