pmatilai commented on this pull request.
> @@ -1415,8 +1467,23 @@ static int rpmtsSetup(rpmts ts, rpmprobFilterFlags
> ignoreSet)
return 0;
}
+/* Enable / disable optimizations for solid state disks */
+static void setSSD(int enable)
+{
+ if (enable) {
+ rpmlog(RPMLOG_DEBUG, "optimizing for non-rotational disks\n");
+ rpmPushMacro(NULL, "_minimize_io", NULL, "1", 0);
Whoops. Indeed, that should be `_minimize_writes` instead, thanks for spotting.
Also goes to show how tested (or not) this is, I guess :smile:
--
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#discussion_r371719054
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint