[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130401012417.GB3494@thunk.org>
Date: Sun, 31 Mar 2013 21:24:17 -0400
From: Theodore Ts'o <tytso@....edu>
To: Lukas Czerner <lczerner@...hat.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH 2/2 v3] ext4: introduce ext4_get_group_number()
On Wed, Mar 27, 2013 at 04:35:41PM +0100, Lukas Czerner wrote:
> Currently on many places in ext4 we're using
> ext4_get_group_no_and_offset() even though we're only interested in
> knowing the block group of the particular block, not the offset within
> the block group so we can use more efficient way to compute block group.
>
> This patch introduces ext4_get_group_number() which computes block group
> for a given block much more efficiently. Use this function instead of
> ext4_get_group_no_and_offset() everywhere where we're only interested in
> knowing the block group.
>
> Signed-off-by: Lukas Czerner <lczerner@...hat.com>
Thanks, applied.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists