]> git.ipfire.org Git - thirdparty/systemd.git/commit
xfs: Bump minimal size to 300M
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 21 Jul 2023 12:21:44 +0000 (14:21 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 21 Jul 2023 12:22:53 +0000 (14:22 +0200)
commitce8b4261eb2cdbfb1be6a1d385b8f121a346f014
tree944692f5bc0261b96b20a7ced5235767c1c68aed
parent4fc925a0268cff33497f8969ff516880f589c782
xfs: Bump minimal size to 300M

From the xfsprogs source code:

* We don't support filesystems smaller than 300MB anymore.  Tiny
* filesystems have never been XFS' design target.  This limit has been
* carefully calculated to prevent formatting with a log smaller than
* the "realistic" size.
*
* If the realistic log size is 64MB, there are four AGs, and the log
* AG should be at least 1/8 free after formatting, this gives us:
*
* 64MB * (8 / 7) * 4 = 293MB

So let's accommodate and bump the minimal XFS filesystem size to 300M.
src/shared/resize-fs.h