From: "Frédéric Bohé" <frederic.bohe@bull.net>
To: Andreas Dilger <adilger@sun.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [PATCH] ext4: fix online resize with mballoc
Date: Fri, 27 Jun 2008 16:36:50 +0200 [thread overview]
Message-ID: <1214577410.3257.24.camel@localhost> (raw)
In-Reply-To: <20080626232659.GY6239@webber.adilger.int>
Thanks for your feedback !
Le jeudi 26 juin 2008 à 17:26 -0600, Andreas Dilger a écrit :
> On Jun 26, 2008 16:58 +0200, Fr�d�ric Boh� wrote:
> > From: Frederic Bohe <frederic.bohe@bull.net>
> > + num_meta_group_infos_max = num_meta_group_infos +
> > + le16_to_cpu(es->s_reserved_gdt_blocks);
>
> The only drawback of NOT handling this properly is that once (eventually)
> we allow resizing with META_BG this code will be broken again. It at
> least deserves a comment like "Need to handle this properly when META_BG
> resizing is allowed" so that it will show up on any grep for META_BG.
>
> It probably also makes sense to round this up to the next power-of-two
> value, since kmalloc will do that internally anyways, and it gives us
> some resizing headroom for no cost.
Do you have any idea of how this headroom could be used in the future ?
Regards,
Fred
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-06-27 14:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080626143704.642665893@bull.net>
2008-06-26 14:58 ` [PATCH] ext4: fix online resize with mballoc Frédéric Bohé
2008-06-26 23:26 ` Andreas Dilger
2008-06-27 14:36 ` Frédéric Bohé [this message]
2008-06-27 23:54 ` Andreas Dilger
2008-06-28 0:30 ` Mingming Cao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1214577410.3257.24.camel@localhost \
--to=frederic.bohe@bull.net \
--cc=adilger@sun.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox