[<prev] [next>] [day] [month] [year] [list]
Message-id: <1226954177.3972.71.camel@localhost>
Date: Tue, 18 Nov 2008 02:06:17 +0530
From: Kalpak Shah <Kalpak.Shah@....COM>
To: linux-ext4 <linux-ext4@...r.kernel.org>
Cc: TheodoreTso <tytso@....edu>, Mingming Cao <cmm@...ibm.com>,
Andreas Dilger <adilger@....COM>
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 <adilger@....com>
Signed-off-by: Kalpak Shah <kalpak.shah@....com>
ext4.h | 3 ++-
ialloc.c | 45 +++++++++++++++++++++++++++++++++++++++++++--
migrate.c | 5 ++---
namei.c | 8 ++++----
4 files changed, 51 insertions(+), 10 deletions(-)
Thanks,
Kalpak.
View attachment "ext4-new-inode-goal.patch" of type "text/x-patch" (4519 bytes)
Powered by blists - more mailing lists