2008-11-17 20:46:01

by Kalpak Shah

[permalink] [raw]
Subject: [PATCH 1/2] Add goal argument to ext4_new_inode()

The EA inodes are not linked into any directory since a single directory
per filesystem will cause a bottleneck. Instead a "goal" argument has
been added to the ext4_new_inode() function to help a localized
selection of the EA inode. Since ext4_new_inode() only used the dir
argument to choose the group, we use goal argument to do the same.

Signed-off-by: Andreas Dilger <[email protected]>
Signed-off-by: Kalpak Shah <[email protected]>

ext4.h | 3 ++-
ialloc.c | 45 +++++++++++++++++++++++++++++++++++++++++++--
migrate.c | 5 ++---
namei.c | 8 ++++----
4 files changed, 51 insertions(+), 10 deletions(-)


ext4-new-inode-goal.patch (4.41 kB)