Poll the enclosure promptly after handling any ioctl which can change a
device's status.
Sponsored by: Spectra Logic, Axcient
Differential D39139
ses: update status more promptly after a change asomers on Mar 16 2023, 8:42 PM. Authored by Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions ses_process_control_request() triggered by ses_set_enc_status() already calls ses_poll_status(), so most of what you are doing should already work. Not sure only about ENCIOC_SETSTRING. Comment Actions Yep, I see that you're correct. This is a classic case of two branches solving the same problem in different ways (if you haven't already figured out, I've been trying to reconcile some of Spectra's old ses changes). I'll abandon this revision. |