diff options
author | Brian Foster <bfoster@redhat.com> | 2018-03-09 14:01:59 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-03-11 20:27:57 -0700 |
commit | 215928633502a7296fec42614463bb49859787d6 (patch) | |
tree | 1a64d31e4753bee8954a507593393626654f56f5 /fs/btrfs/dedupe.h | |
parent | b3fed434822d0873269231f77e23fc801da32569 (diff) | |
download | linux-215928633502a7296fec42614463bb49859787d6.tar.bz2 |
xfs: rename agfl perag res type to rmapbt
The AGFL perag reservation type accounts all allocations that feed
into (or are released from) the allocation group free list (agfl).
The purpose of the reservation is to support worst case conditions
for the reverse mapping btree (rmapbt). As such, the agfl
reservation usage accounting only considers rmapbt usage when the
in-core counters are initialized at mount time.
This implementation inconsistency leads to divergence of the in-core
and on-disk usage accounting over time. In preparation to resolve
this inconsistency and adjust the AGFL reservation into an rmapbt
specific reservation, rename the AGFL reservation type and
associated accounting fields to something more rmapbt-specific. Also
fix up a couple tracepoints that incorrectly use the AGFL
reservation type to pass the agfl state of the associated extent
where the raw reservation type is expected.
Note that this patch does not change perag reservation behavior.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/btrfs/dedupe.h')
0 files changed, 0 insertions, 0 deletions