Page MenuHomeFreeBSD

Tidy up the unmapped I/O code in qphysio.
ClosedPublic

Authored by jhb on Mar 30 2016, 10:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 27 2025, 3:18 AM
Unknown Object (File)
Nov 26 2025, 9:44 AM
Unknown Object (File)
Nov 21 2025, 3:45 AM
Unknown Object (File)
Nov 21 2025, 3:40 AM
Unknown Object (File)
Nov 21 2025, 3:36 AM
Unknown Object (File)
Nov 13 2025, 10:30 PM
Unknown Object (File)
Nov 5 2025, 2:39 PM
Unknown Object (File)
Nov 5 2025, 2:39 PM
Subscribers

Details

Reviewers
kib
Summary

Tidy up the unmapped I/O code in qphysio.

  • Move some blocks around to reduce the number of 'if (unmap)' checks.
  • Use 'pbuf == NULL' instead of 'unmap'.
  • Use nitems.
  • Pull an assignment out of an if expression.
Test Plan
  • Ran the aio tests, in particular the aio_md_test which exercise the md path.
  • Ran the 'fio' benchmark tool against a raw disk partition (a user reported a regression in the physio path using this tool with the original AIO rework patches)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3082
Build 3114: arc lint + arc unit

Event Timeline

jhb retitled this revision from to Tidy up the unmapped I/O code in qphysio..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: kib.
kib edited edge metadata.
This revision is now accepted and ready to land.Mar 31 2016, 5:32 AM