fs/udf: vm pages "overlap" while reading large dir [patch]

Andriy Gapon avg at icyb.net.ua
Wed Feb 6 16:34:30 UTC 2008


on 05/02/2008 20:16 Pav Lucistnik said the following:
> Andriy Gapon píše v út 05. 02. 2008 v 16:40 +0200:
> 
>>> Yay, and can you fix the sequential read performance while you're at it?
>>> Kthx!
> 
>> this was almost trivial :-)
>> See the attached patch, first hunk is just for consistency.
>> The code was borrowed from cd9660, only field/variable names are adjusted.
> 
> Omg looks good. Can't wait for it to bubble throught to 6-STABLE :)
> 
> Thanks million for working on this.
> 

Actually the patch is not entirely correct. max_size returned from
udf_bmap_internal should be used to calculate number of continuous
sectors for read-ahead (as opposed to file size in the patch).

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list