Re: [SCSI] fix media change events for polled devices

From: Jeff Garzik
Date: Fri Mar 21 2008 - 18:36:00 EST


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/