RE: [PATCH v2] scsi: ufs: critical health condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 2/6/25 12:54 AM, Avri Altman wrote:
> > After some further internal discussions: The set conditions are vendor
> > specific; The device may set it as many times it wants depending on
> > its criticality. The spec does not define that nor what the host
> > should do. So there is this concern that some vendors will report
> > multiple times, while other wont. Hence, reading critical_health = 1
> > might be misleading. What do you think?
Still not sure if you want this to be a counter?

> 
> How about emitting a uevent if a critical health condition has been reported by a
> UFS device? See also sdev_evt_send().
Thanks for pointing this out.
A ufs event in enum scsi_device_event seems misplaced - looks like it was invented for unit attention codes.
How about calling kobject_uevent() or  kobject_uevent_env() directly from the driver?

Thanks,
Avri

> 
> Thanks,
> 
> Bart.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux