[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1muaxz6fh.fsf@oracle.com>
Date: Wed, 08 Jan 2020 21:53:38 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Christoph Hellwig <hch@....de>
Cc: "Martin K. Petersen" <martin.petersen@...cle.com>,
Balbir Singh <sblbir@...zon.com>, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, linux-nvme@...ts.infradead.org,
axboe@...nel.dk, ssomesh@...zon.com, jejb@...ux.ibm.com,
mst@...hat.com, Chaitanya.Kulkarni@....com
Subject: Re: [resend v1 5/5] drivers/scsi/sd.c: Convert to use disk_set_capacity
Christoph,
>> 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
Powered by blists - more mailing lists