ubject: Re: [f2fs-dev] [PATCH] f2fs: avoid overflow when large directory
> feathure is enabled
>
> Hi, Chao
> Good catch. Please, modify Documentation/filesytems/f2fs.txt
Thank you for reminding me, I will add modification of f2fs.txt in the patch
later.
>
> On Tue, May 27,
Hi, Chao
Good catch. Please, modify Documentation/filesytems/f2fs.txt
On Tue, May 27, 2014 at 09:06:52AM +0800, Chao Yu wrote:
> When large directory feathure is enable, We have one case which could cause
> overflow in dir_buckets() as following:
> special case: level + dir_level >= 32 and level <
When large directory feathure is enable, We have one case which could cause
overflow in dir_buckets() as following:
special case: level + dir_level >= 32 and level < MAX_DIR_HASH_DEPTH / 2.
Here we define MAX_DIR_BUCKETS to limit the return value when the condition
could trigger potential overflow
3 matches
Mail list logo