[Rpm-maint] [rpm-software-management/rpm] Auto-enable optimizations for non-rotational disks on Linux (#949)

Florian Festi notifications at github.com
Tue Feb 18 09:28:55 UTC 2020


Ok, looking at the history of flush_io and the potential to do more with it in the future I think just keeping both of those macros is the way to go.
As auto detection for now is Linux only there is no perspective to get rid of these macros and just always "do the right thing(tm)" as people with not yet supported OSes will need to configure them manually.

Wrt needing to overwrite two macros: This is less of an issue IMHO if both default to auto detection. Then one can view them as separate features that can be switched to a specified behaviour if the automatic default does not work properly. Yes, you may want to switch on both were auto detection is not working but this is still less messy than having three macros to deal with. Especially if some of them overrule others - which is kinda inevitable.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/949#issuecomment-587362611
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200218/50d6e23c/attachment.html>


More information about the Rpm-maint mailing list