Page MenuHomeFreeBSD

ses: update status more promptly after a change
AbandonedPublic

Authored by asomers on Mar 16 2023, 8:42 PM.
Tags
None
Referenced Files
F132576004: D39139.diff
Sat, Oct 18, 2:52 AM
F132566386: D39139.diff
Sat, Oct 18, 1:00 AM
Unknown Object (File)
Fri, Oct 17, 10:40 AM
Unknown Object (File)
Sun, Oct 12, 1:24 AM
Unknown Object (File)
Sun, Sep 28, 5:42 PM
Unknown Object (File)
Sun, Sep 28, 5:23 PM
Unknown Object (File)
Sun, Sep 28, 2:47 AM
Unknown Object (File)
Sat, Sep 27, 5:35 AM
Subscribers

Details

Reviewers
ken
mav
Group Reviewers
cam
Summary

Poll the enclosure promptly after handling any ioctl which can change a
device's status.

Sponsored by: Spectra Logic, Axcient

Test Plan

Manually tested

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 50433
Build 47324: arc lint + arc unit

Event Timeline

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.

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.