diff options
author | 2018-08-01 07:20:29 -0700 | |
---|---|---|
committer | 2018-08-02 23:05:13 -0700 | |
commit | 98719051e75ccf9eca18bd2b569de4ea637b4479 (patch) | |
tree | f07a3069240d0330b138b3fec67cbf7b778b4f0f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: check da node magic in _node_lookup_int (diff) | |
download | wireguard-linux-98719051e75ccf9eca18bd2b569de4ea637b4479.tar.xz wireguard-linux-98719051e75ccf9eca18bd2b569de4ea637b4479.zip |
xfs: refactor internal dfops initialization
The current transaction allocation code conditionally initializes
the ->t_dfops indirection pointer. Transaction commit/cancel check
the validity of the pointer to determine whether to finish/cancel
the internal dfops.
This disallows the ability to use the internal dfops list as a
temporary container (via xfs_trans_alloc_empty()). Refactor
transaction allocation to always initialize ->t_dfops and check
permanent reservation state on transaction commit/cancel.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
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