diff options
author | Brian Foster <[email protected]> | 2021-04-28 15:05:41 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2021-04-29 07:45:44 -0700 |
commit | 2675ad3890db93e58f2264d07c2d1f615ec5adf7 (patch) | |
tree | 495fc5c362ab983e8954b9a3a183dfbc48cbeb0c /lib/mpi/mpi-sub-ui.c | |
parent | e147a756ab263f9d10eafd08b79b9fac1b08e56c (diff) |
xfs: unconditionally read all AGFs on mounts with perag reservation
perag reservation is enabled at mount time on a per AG basis. The
upcoming change to set aside allocbt blocks from block reservation
requires a populated allocbt counter as soon as possible after mount
to be fully effective against large perag reservations. Therefore as
a preparation step, initialize the pagf on all mounts where at least
one reservation is active. Note that this already occurs to some
degree on most default format filesystems as reservation requirement
calculations already depend on the AGF or AGI, depending on the
reservation type.
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Chandan Babu R <[email protected]>
Reviewed-by: Allison Henderson <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions