public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ext4: start seraching for the right extent from the goal group.
@ 2008-04-30 11:16 Aneesh Kumar K.V
  2008-04-30 12:58 ` Eric Sandeen
       [not found] ` <48187EEF.8000101@bull.net>
  0 siblings, 2 replies; 6+ messages in thread
From: Aneesh Kumar K.V @ 2008-04-30 11:16 UTC (permalink / raw)
  To: adilger; +Cc: linux-ext4, cmm, tytso, sandeen, Aneesh Kumar K.V

With mballoc we search for the best extent using different
criteria. We should always use the goal group when we are
starting with a new criteria.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
 fs/ext4/mballoc.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 2a6c814..9b4cde7 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -1730,10 +1730,6 @@ ext4_mb_regular_allocator(struct ext4_allocation_context *ac)
 		ac->ac_g_ex.fe_start = sbi->s_mb_last_start;
 		spin_unlock(&sbi->s_md_lock);
 	}
-
-	/* searching for the right group start from the goal value specified */
-	group = ac->ac_g_ex.fe_group;

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-05-02 21:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30 11:16 [PATCH] ext4: start seraching for the right extent from the goal group Aneesh Kumar K.V
2008-04-30 12:58 ` Eric Sandeen
2008-05-01 15:37   ` Aneesh Kumar K.V
2008-05-02 18:53     ` Andreas Dilger
2008-05-02 21:11     ` Mingming Cao
     [not found] ` <48187EEF.8000101@bull.net>
2008-05-01 15:48   ` Aneesh Kumar K.V

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox