[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191110131443.GI23325@mit.edu>
Date: Sun, 10 Nov 2019 08:14:43 -0500
From: "Theodore Y. Ts'o" <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] resize2fs: Make minimum size estimates more reliable for
mounted fs
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@...e.cz>
Thanks, applied.
- Ted
Powered by blists - more mailing lists