summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_misc.c
diff options
context:
space:
mode:
authorrumble <rumble@NetBSD.org>2007-07-04 19:24:09 +0000
committerrumble <rumble@NetBSD.org>2007-07-04 19:24:09 +0000
commit0aef936cbefdd465ae7c51acb6b569c4b649df2e (patch)
tree6055e7ac4e65d8819c7fdd09d9fe67827b4bfad0 /sys/compat/linux/common/linux_misc.c
parent933c2e67b5ffa78bb1c15eeb1054d47f05c8b212 (diff)
Additional fixes/enhancements:
1) Comply with the way buffercache(9) is intended to be used. Now we read in single blocks of EFS_BB_SIZE, never taking in variable length extents with a single bread() call. 2) Handle symlinks with more than one extent. There's no reason for this to ever happen, but it's handled now. 3) Finally, add a hint to our iteration initialiser so we can start from the desired offset, rather than naively looping through from the beginning each time. Since we can binary search the correct location quickly, this improves large sequential reads by about 40% with 128MB files. Improvement should increase with file size.
Diffstat (limited to 'sys/compat/linux/common/linux_misc.c')
0 files changed, 0 insertions, 0 deletions