]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r281700:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 1 May 2015 17:30:59 +0000 (17:30 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 1 May 2015 17:30:59 +0000 (17:30 +0000)
commitcf42246639c2d183b1553de1271dfa55e713e690
tree7c6a9263230a1e21e6bc6e4d23db9c24e0c06a3e
parent558b06a6ef69e0b322ad6210fbc90f9052731078
MFC r281700:
Workaround bhyve virtual disks operation on top of GEOM providers.

GEOM does not support scatter/gather lists in its I/Os.  Such requests
are cut in pieces by physio(), that may be problematic, if those pieces
are not multiple of provider's sector size.  If such case is detected,
move the data through temporary sequential buffer.

git-svn-id: svn://svn.freebsd.org/base/stable/10@282307 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/bhyve/block_if.c
usr.sbin/bhyve/block_if.h
usr.sbin/bhyve/pci_ahci.c
usr.sbin/bhyve/pci_virtio_block.c