[LTP] [PATCH] mkfs: relax size check

Petr Vorel pvorel@suse.cz
Mon Apr 26 21:28:33 CEST 2021


Hi Jan, Li,

> On Fri, Apr 23, 2021 at 7:16 PM Jan Stancek <jstancek@redhat.com> wrote:

> > Number of total data blocks in filesystem reported by statfs
> > may be less than current formula of 90%. For example ext4 will
> > subtract "s_first_data_block plus internal journal blocks".

> > With recent change to e2fsprogs, overhead calculated in user-space
> > increased slightly and LTP test started failing:
> >   https://github.com/tytso/e2fsprogs/commit/59037c5357d39c6d0f14a0aff70e67dc13eafc84

> > Since there's no strict rule how much the overhead will be,
> > as rule of thumb relax the condition to 80%.

> > Signed-off-by: Jan Stancek <jstancek@redhat.com>

> Reviewed-by: Li Wang <liwang@redhat.com>

I dared to merge your fix. Thanks!

Kind regards,
Petr


More information about the ltp mailing list