diff options
author | marius <marius@FreeBSD.org> | 2013-02-02 21:57:06 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2013-02-02 21:57:06 +0000 |
commit | fb83414a6ee4316b1c8a79da870c9c6e453535a6 (patch) | |
tree | 172a8c2a5da6ab5738825163bb13f0285c451cc9 /tools | |
parent | 4b413731c8635fc79b2a2de63e9dbedca8cc7566 (diff) | |
download | FreeBSD-src-fb83414a6ee4316b1c8a79da870c9c6e453535a6.zip FreeBSD-src-fb83414a6ee4316b1c8a79da870c9c6e453535a6.tar.gz |
Improve r238673 to additionally allow for odd-aligned buffers as
passed in by smartd of smartmontools.
While at it, hint the compiler that 32-bit PIO is the most likely
case (idea from Linux) and use bus_{read,write}_stream_2(9) instead
of bus_{read,write}_multi_stream_2(9) for single count reads/writes.
MFC after: 1 week
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions