[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140430023414.GC6714@thunk.org>
Date: Tue, 29 Apr 2014 22:34:14 -0400
From: Theodore Ts'o <tytso@....edu>
To: Lukáš Czerner <lczerner@...hat.com>
Cc: Ext4 Developers List <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH 1/2] libext2fs: fix alloc_allocate_group_table() if the
flexbg_offset wraps
On Tue, Apr 29, 2014 at 01:02:07PM +0200, Lukáš Czerner wrote:
>
> Not sure about this, but I just wonder whether this would work with
> bigalloc file system as well since it is true that we're testing
> blocks in this condition but in ext2fs_test_block_bitmap_range2()
> we're searching for a free cluster.
No, we're fine because the bitmap functions takes block numbers as
arguments, not cluster numbers. (The bitmap functions converts block
numbers to cluster numbers, and there's a special hack for mke2fs so
we don't burn a separate cluster for each allocation bitmap block.)
- 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