Re: [PATCH v3 2/4] scsi: devinfo: add new flag BLIST_MEDIA_CHANGE

2021-03-28 Thread Bart Van Assche
On 3/28/21 3:25 AM, Martin Kepplinger wrote: > +/* Ignore the next media change event */ > +#define BLIST_MEDIA_CHANGE ((__force blist_flags_t)(1ULL << 11)) That comment is not descriptive enough. Consider to change it into something like the following: "ignore one MEDIA CHANGE unit attention

[PATCH v3 2/4] scsi: devinfo: add new flag BLIST_MEDIA_CHANGE

2021-03-28 Thread Martin Kepplinger
add a new flag for devices that issue MEDIA CHANGE unit attentions when actually no medium changed. Drivers can for example set the expecting_media_change device flag in order to ignore the next following MEDIA CHANGE unit attention. Signed-off-by: Martin Kepplinger ---