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 -- Dr. Martin Wilck <mwilck@xxxxxxxx>, Tel. +49 (0)911 74053 2107 SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)