All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] mkfs: force block size to 1024 for ext3 and ext4
Date: Tue, 11 May 2021 08:19:01 +0200	[thread overview]
Message-ID: <YJoh1f4EWtQWlroC@pevik> (raw)
In-Reply-To: <20210510134739.37512-1-cascardo@canonical.com>

Hi,

> ext3 and ext4 filesystems will reserve at least 1024 blocks for the
> journal.  With a blocksize of 4096, this will be 25% of the filesystem size
> without accounting for any other overhead.
Is that any actual problem?

> /etc/mke2fs.conf will use 1024 block size for small filesystems, which are
> between 3M and 512M. However, on recent versions of Ubuntu, this
> configuration has changed and thet default blocksize is 4096 even for small
> filesystems.

> Force the blocksize to 1024 on ext3 and ext4 filesystems, which will lead
> to the expected results, as journals will take only 1M.

IMHO it'd be better to keep the default, because that covers what end users
actually use.

Kind regards,
Petr

  reply	other threads:[~2021-05-11  6:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 13:47 [LTP] [PATCH] mkfs: force block size to 1024 for ext3 and ext4 Thadeu Lima de Souza Cascardo
2021-05-11  6:19 ` Petr Vorel [this message]
2021-05-11 10:36   ` Thadeu Lima de Souza Cascardo
2021-05-11 14:19     ` Petr Vorel
2021-05-11 15:28       ` Thadeu Lima de Souza Cascardo
2021-05-12 13:17     ` Cyril Hrubis
2021-05-12 13:55       ` Petr Vorel
2021-05-12 13:59         ` Jan Stancek
2021-05-12 14:18           ` Cyril Hrubis

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=YJoh1f4EWtQWlroC@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.