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@xxxxxxx> Thanks, applied. - Ted