summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-07-22 17:30:05 +0000
committermarcel <marcel@FreeBSD.org>2014-07-22 17:30:05 +0000
commitd784f2418c22e04fadccc3d5438789412f27d728 (patch)
tree18687aca8b3bdeab3ca75686f439ae9936df4436 /lib/libc
parent1e99f060b1397299290b06cd3726c08865bb3c6b (diff)
downloadFreeBSD-src-d784f2418c22e04fadccc3d5438789412f27d728.zip
FreeBSD-src-d784f2418c22e04fadccc3d5438789412f27d728.tar.gz
In r264504, we prevented doing I/O for more than MAXPHYS by making
the assumption that consumers would respect bio_completed and/or bio_resid to detect short reads. This assumption proved false and file corruption was the result. Create as many bios as we need to satisfy the original request. Check the cached chunk every time we need to do I/O to increase the hit rate. Obtained from: junipre Networks, Inc. MFC after: 1 week
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud