diff options
author | 2019-04-23 07:54:06 -0700 | |
---|---|---|
committer | 2019-04-23 08:36:23 -0700 | |
commit | 362f5e745ae2ee2be9cf181b3a22917d619b81a1 (patch) | |
tree | 15677f6a8309569104233403e19b77cdc3f095dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: make tr_growdata a permanent transaction (diff) | |
download | wireguard-linux-362f5e745ae2ee2be9cf181b3a22917d619b81a1.tar.xz wireguard-linux-362f5e745ae2ee2be9cf181b3a22917d619b81a1.zip |
xfs: assert that we don't enter agfl freeing with a non-permanent transaction
Block allocation requires a permanent transaction for deferred AGFL
frees. Add an assert in the block allocation path to make explicit and
obvious to future callers the requirement of a transaction with a
permanent reservation.
Reported-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: split this out from the previous patch per hch request]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions