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

Panu Matilainen notifications at github.com
Fri Nov 22 11:52:58 UTC 2019


Try to auto-detect non-rotational disks on start of transactions,
and if all involved disks are non-rotational enable optimizations:
%_minimize_io to conserve writes, and %_flush_io to avoid trashing
the system caches.

Caveat: this potentially overrides values from system macro configuration
which is not ok, hence it's only an RFC until this is addressed. Macros
are awfully clumsy for the internal interfaces anyway...
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/949

-- Commit Summary --

  * Auto-enable optimizations for non-rotational disks on Linux

-- File Changes --

    M lib/transaction.c (77)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/949.patch
https://github.com/rpm-software-management/rpm/pull/949.diff

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191122/1a6f11c1/attachment.html>


More information about the Rpm-maint mailing list