<p>This is a take on <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="527152934" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/949" data-hovercard-type="pull_request" data-hovercard-url="/rpm-software-management/rpm/pull/949/hovercard" href="https://github.com/rpm-software-management/rpm/pull/949">#949</a> as described in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="527152934" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/949" data-hovercard-type="pull_request" data-hovercard-url="/rpm-software-management/rpm/pull/949/hovercard?comment_id=580354653&comment_type=issue_comment" href="https://github.com/rpm-software-management/rpm/pull/949#issuecomment-580354653">#949 (comment)</a><br>
Original Patch is rebased to have access to the new rpmMacroIsDefined() function.<br>
Patches should probably be squashed before merging. Keeped them separate to make review easier.<br>
<span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes pull request #949.">Resolves</span>: <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="527152934" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/949" data-hovercard-type="pull_request" data-hovercard-url="/rpm-software-management/rpm/pull/949/hovercard" href="https://github.com/rpm-software-management/rpm/pull/949">#949</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/1066'>https://github.com/rpm-software-management/rpm/pull/1066</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Auto-enable optimizations for non-rotational disks on Linux</li>
  <li>Use autodetect for _minimize_writes and _flush_io</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1066/files#diff-0">lib/transaction.c</a>
    (95)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1066/files#diff-1">macros.in</a>
    (10)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1066.patch'>https://github.com/rpm-software-management/rpm/pull/1066.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1066.diff'>https://github.com/rpm-software-management/rpm/pull/1066.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1066?email_source=notifications&email_token=ADLPZU6CXXUA7GBHBRBNIMDRCK5ANA5CNFSM4KTCQKXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMSZHHQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZUZ47JJQBYGOLGEG3T3RCK5ANANCNFSM4KTCQKXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZUZNCSRFJSVGPF5X2XDRCK5ANA5CNFSM4KTCQKXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMSZHHQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1066?email_source=notifications\u0026email_token=ADLPZU6CXXUA7GBHBRBNIMDRCK5ANA5CNFSM4KTCQKXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMSZHHQ",
"url": "https://github.com/rpm-software-management/rpm/pull/1066?email_source=notifications\u0026email_token=ADLPZU6CXXUA7GBHBRBNIMDRCK5ANA5CNFSM4KTCQKXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMSZHHQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>