Thread (1 message) 1 message, 1 author, 2020-01-09

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

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2020-01-09 02:56:52
Also in: linux-nvme, lkml

Christoph,
quoted
We already emit an SDEV_EVT_CAPACITY_CHANGE_REPORTED event if device
capacity changes. However, this event does not automatically cause
revalidation.
Who is looking at these sdev specific events?  (And who is looking
at the virtio/xenblk ones?)  It  makes a lot of sense to have one event
supported by all devices.  But don't ask me which one would be the best..
Users typically have site-specific udev rules or similar. There is no
standard entity handling these events. Sadly.

I'm all for standardizing on RESIZE=1. However, we can't really get rid
of the emitting existing SDEV* event without breaking existing setups.

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help