Messages in this thread | | | Date | Fri, 21 Mar 2008 18:35:43 -0400 | From | Jeff Garzik <> | Subject | Re: [SCSI] fix media change events for polled devices |
| |
James Bottomley wrote: > Anyway, realistically, since no CD or DVD on the market today seems to > support the AHCI AN method, this argument is really moot ...
No, it's not. This information is published to userspace EVEN WHEN AN SUPPORT IS ABSENT. As any sane interface would do -- report a zero value.
Thus, the interface is useful even in the absence of AN.
Anyway, to recap...
before your "fix":
userspace interface always reflected list of events sent via my new API
after your "fix":
events may or may not be reflected in userspace interface, who knows?
Is that distinction so difficult to see?
This interface, like it or not, is in 2.6.24, which means its published and "out there."
This is a clear regression from 2.6.24.
supported_events' value was accurate in 2.6.24. Now it is not.
Jeff
| |