From: Andreas Dilger Date: Sat, 13 Jun 2009 15:45:35 +0000 (-0400) Subject: ext4: teach the inode allocator to use a goal inode number X-Git-Tag: v2.6.31-rc1~138^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11013911daea4820147ae6d7094dd7c6894e8651;p=pandora-kernel.git ext4: teach the inode allocator to use a goal inode number Enhance the inode allocator to take a goal inode number as a paremeter; if it is specified, it takes precedence over Orlov or parent directory inode allocation algorithms. The extents migration function uses the goal inode number so that the extent trees allocated the migration function use the correct flex_bg. In the future, the goal inode functionality will also be used to allocate an adjacent inode for the extended attributes. Also, for testing purposes the goal inode number can be specified via /sys/fs/{dev}/inode_goal. This can be useful for testing inode allocation beyond 2^32 blocks on very large filesystems. Signed-off-by: Andreas Dilger Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed