From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Jan Kara <jack@suse.cz>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [PATCH] resize2fs: Make minimum size estimates more reliable for mounted fs
Date: Sun, 10 Nov 2019 08:14:43 -0500 [thread overview]
Message-ID: <20191110131443.GI23325@mit.edu> (raw)
In-Reply-To: <20191018125059.2446-1-jack@suse.cz>
On Fri, Oct 18, 2019 at 02:50:59PM +0200, Jan Kara wrote:
> Currently, the estimate of minimum filesystem size is using free blocks
> counter in the superblock. The counter generally doesn't get updated
> while the filesystem is mounted and thus the estimate is very unreliable
> for a mounted filesystem. For some usecases such as automated
> partitioning proposal to the user it is desirable that the estimate of
> minimum filesystem size is reasonably accurate even for a mounted
> filesystem. So use group descriptor counters of free blocks for the
> estimate of minimum filesystem size. These get updated together with
> block being allocated and so the resulting estimate is more accurate.
>
> Signed-off-by: Jan Kara <jack@suse.cz>
Thanks, applied.
- Ted
prev parent reply other threads:[~2019-11-10 13:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-18 12:50 [PATCH] resize2fs: Make minimum size estimates more reliable for mounted fs Jan Kara
2019-11-10 13:14 ` Theodore Y. Ts'o [this message]
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=20191110131443.GI23325@mit.edu \
--to=tytso@mit.edu \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).