summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2013-04-27 08:40:37 +0000
committersbruno <sbruno@FreeBSD.org>2013-04-27 08:40:37 +0000
commit36fb790d7051145793d5538cd8396192733a716f (patch)
treea7046b6aeaab0e2c2177169602e332f39a777590 /contrib/libc++/src
parentc6c2824a9afe3335cdd639094120b3ed062573ef (diff)
downloadFreeBSD-src-36fb790d7051145793d5538cd8396192733a716f.zip
FreeBSD-src-36fb790d7051145793d5538cd8396192733a716f.tar.gz
Change maxio to reflect variable hardware configurations.
If max_sg_length is 0, then we default to 16 If max_sg_length is less than CISS_MAX_SG_ELEMENTS, then we will set round the value of max_sg_length to the nearest power of 2 and use it to align maxio. Else, we will use CISS_MAX_SG_ELEMENTS for our calculations. Thanks to scottl for working me through the history and providing the basis for this patch. Submitted by: scott Obtained from: Yahoo! Inc. MFC after: 2 weeks
Diffstat (limited to 'contrib/libc++/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud