diff options
author | Brian Foster <bfoster@redhat.com> | 2020-03-17 00:26:09 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-18 18:12:23 +0300 |
commit | 854f82b1f6039a418b7d1407513f8640e05fd73f (patch) | |
tree | e673618c4ec290191fb4bff297af0de6a53e0e54 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 59d677127cf1543b2978aca3be8c8395f3a17973 (diff) | |
download | linux-854f82b1f6039a418b7d1407513f8640e05fd73f.tar.xz |
xfs: factor out quotaoff intent AIL removal and memory free
AIL removal of the quotaoff start intent and free of both intents is
hardcoded to the ->iop_committed() handler of the end intent. Factor
out the start intent handling code so it can be used in a future
patch to properly handle quotaoff errors. Use xfs_trans_ail_remove()
instead of the _delete() variant to acquire the AIL lock and also
handle cases where an intent might not reside in the AIL at the
time of a failure.
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions