summaryrefslogtreecommitdiff
path: root/usr/gen_init_cpio.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-11-20 16:21:04 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-12-23 13:06:14 -0800
commit88a70768df138b97b36bf1571fcde92907812a3d (patch)
tree6e1baf15744a5735f179c58deaf1f420c3a31115 /usr/gen_init_cpio.c
parent8e84e8052bc283ebb37f929eb9fb97483ea7385e (diff)
xfs: check that the rtrefcount maxlevels doesn't increase when growing fs
The size of filesystem transaction reservations depends on the maximum height (maxlevels) of the realtime btrees. Since we don't want a grow operation to increase the reservation size enough that we'll fail the minimum log size checks on the next mount, constrain growfs operations if they would cause an increase in the rt refcount btree maxlevels. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions