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

Andriy Gapon avg at icyb.net.ua
Wed Feb 6 16:36:02 UTC 2008


on 05/02/2008 22:43 Scott Long said the following:
> Andriy Gapon wrote:
> 
>> But there is another issue that I also mentioned in the email about
>> directory reading. It is UDF_INVALID_BMAP case of udf_bmap_internal,
>> i.e. the case when file data is embedded into a file entry.
>> This is a special case that needs to be handled differently.
>> udf_readatoffset() handles it, but the latest udf_read code doesn't.
>> I have a real UDF filesystem where this type of allocation is used for
>> small files and those files can not be read.
> 
> Oh, so directory data can also follow this convention?  Blah.  Feel free
> to fix that too if you want =-)

Yes, this allocation type can be applied to both files and directories.
Directories are already handled because of readatoffset() but udf_read
needs to be made aware of this special case.

-- 
Andriy Gapon


More information about the freebsd-fs mailing list