This is BROKEN user space code (hdparm assumes what is being returned). And broken userspace code is different.
He does not like to break correct userspace code.
And this code is in what I would classify as a non-critical path, this breaks some monitoring tools/utilities but does not impact critical functionality and/or change results that customers/clients would be depending on outside of the monitoring path.
On Fri, Aug 16, 2024 at 12:37 PM Chris Adams linux@cmadams.net wrote:
Once upon a time, Roger Heflin rogerheflin@gmail.com said:
Zero chance they back that out. It is not a regression in the kernel, a valid fix exposed bad code in user space.
I wouldn't say that - Linus is very adamant about not breaking existing user space code, which this change did. Since this is long-standing behavior, the fix is probably to revert the change to the existing interface and introduce a new interface to get the "correct" behavior.
-- Chris Adams linux@cmadams.net -- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue