]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libi386: remove BD_SUPPORT_FRAGS
authorToomas Soome <tsoome@FreeBSD.org>
Wed, 15 Aug 2018 21:21:16 +0000 (21:21 +0000)
committerToomas Soome <tsoome@FreeBSD.org>
Wed, 15 Aug 2018 21:21:16 +0000 (21:21 +0000)
commit4273aef54d7201aa15ad5c9e3214bbc119adb436
tree01e270038f146a42dc25080eba0eb6db0d8f57e1
parent99a9cf516458b84d65f2cf87144c6c93c00a5795
libi386: remove BD_SUPPORT_FRAGS

BD_SUPPORT_FRAGS is preprocessor knob to allow partial reads in bioscd/biosdisk
level. However, we already have support for partial reads in bcache, and there
is no need to have duplication via preprocessor controls.

Note that bioscd/biosdisk interface is assumed to perform IO in 512B blocks,
so the only translation we have to do is 512 <-> native block size.

Differential Revision: https://reviews.freebsd.org/D16600
stand/i386/libi386/bioscd.c
stand/i386/libi386/biosdisk.c