[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ttkl6u13.fsf@brahms.olymp>
Date: Mon, 01 Apr 2024 15:23:52 +0100
From: Luis Henriques <luis.henriques@...ux.dev>
To: "Theodore Ts'o" <tytso@....edu>
Cc: Wang Jianjian <wangjianjian0@...mail.com>, Ext4 Developers List
<linux-ext4@...r.kernel.org>
Subject: Re: [PATCH 2/2] ext4: Add correct group descriptors and reserved
GDT blocks to system zone
"Theodore Ts'o" <tytso@....edu> writes:
> On Thu, Aug 03, 2023 at 12:28:40AM +0800, Wang Jianjian wrote:
>> When setup_system_zone, flex_bg is not initialzied so it is always 1.
>> ext4_num_base_meta_blocks() returns the meta blocks in this group
>> including reserved GDT blocks, so let's use this helper.
>>
>> Signed-off-by: Wang Jianjian <wangjianjian0@...mail.com>
>
> Thanks for the patch. I ended up collapsing the two patches into a
> single one, and then fixed up some checkpatch errors.
Sorry for revisiting this old thread, but it looks like these patches
(commit 68228da51c9a "ext4: add correct group descriptors and reserved GDT
blocks to system zone") broke fstest ext4/059.
A (very!) quick look seems to show that it's related with the very fact
that sbi->s_es->s_reserved_gdt_blocks are now taken into account to
compute the number of blocks (which is the point of the patch, of course).
Maybe the test needs to be fixed, as it messes up with the GDT reserved
blocks...?
Cheers,
--
Luis
Powered by blists - more mailing lists