Re: [PATCH] ext4: dir inode reservation V3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Coly Li
Date: Monday, November 19, 2007 - 9:14 pm

Thanks for the feedback :-)

Mingming Cao wrote:

N is not stored in in-core superblock. N = s_dir_ireserve_nr / inodes_per_block. What is stored in
in-core superblock is number of inodes to be reserved for each directory.


The hole is (s_dir_ireserve_nr - 1), not N * s_dir_ireserve_nr. Because directory inode will also
use a inode slot from reserved area, reset slots number for files is (s_dir_ireserve_nr - 1).
Except for the reserved inodes number, your understanding exactly matches my idea.


Sure, I agree with you. Also I am thinking should this patch permit user to input reserved inodes
number directly other than a low/normal/high. Also I am looking for methods to display the tuning
info more convenient to users.


I agree with you :-)


Hmm, sure, putting ext4_ino_from_ireserve() in this loop is redundant, it should be out of this
loop. Neat eyes:-) So this is second bug in my patch.

I will submit V4 patch and basic benchmark number before next internal conf-call. Thanks for your
review, great help to me :-)



-- 
Coly Li
SuSE PRC Labs
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] ext4: dir inode reservation V3, Alex Tomas, (Tue Nov 13, 7:09 am)
[PATCH] ext4: dir inode reservation V3, Coly Li, (Tue Nov 13, 7:12 am)
Re: [PATCH] ext4: dir inode reservation V3, Coly Li, (Tue Nov 13, 9:27 am)
Re: [PATCH] ext4: dir inode reservation V3, Coly Li, (Tue Nov 13, 9:43 am)
Re: [PATCH] ext4: dir inode reservation V3, Mingming Cao, (Mon Nov 19, 7:01 pm)
Re: [PATCH] ext4: dir inode reservation V3, Coly Li, (Mon Nov 19, 9:14 pm)
Re: [PATCH] ext4: dir inode reservation V3, Jan Kara, (Tue Nov 20, 8:58 am)
Re: [PATCH] ext4: dir inode reservation V3, Coly Li, (Tue Nov 20, 9:40 am)
Re: [PATCH] ext4: dir inode reservation V3, Jan Kara, (Tue Nov 20, 9:44 am)
Re: [PATCH] ext4: dir inode reservation V3, Mingming Cao, (Tue Nov 20, 1:22 pm)
Re: [PATCH] ext4: dir inode reservation V3, Andreas Dilger, (Tue Nov 20, 7:09 pm)