Message ID | 20190205113741.11267-1-mwilck@suse.com (mailing list archive) |
---|---|
Headers | show |
Series | block: skip media change event handling if unsupported | expand |
On Tue, 2019-02-05 at 12:37 +0100, Martin Wilck wrote: > [...] > > This series implements a slightly different approach to event > handling and > uevent suppression. The drivers are changed to set the events field > again. > Whether or not uevents should be generated is controlled by a > separate flag > bit, which is only set by the drivers that are known to generate > proper > uevents (sd and sr). Once this is done, devices that don't support > any > media change events can be clearly identified, and the whole events > checking code path can be skipped. This simplifies handling of > non-removable SCSI disks. > > I have tested this with removable and non-removable SCSI disks, SCSI > cdrom, > and ide-cd. > > This patch set targets the same problem as Hannes' late submission > "sd: > skip non-removable devices in sd_check_events()". Gentle review reminder. Regards Martin
Martin,
> Gentle review reminder.
Please resubmit.