aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2018-07-11 22:26:35 -0700
committerDarrick J. Wong <[email protected]>2018-07-11 22:26:35 -0700
commit6af88cda007695af003a1cd41f077c826aa59b97 (patch)
treea9ff33f4514ffec48010633ce795440479677b9d /tools/perf/scripts/python
parente339dd8d8b045399e918c6737b2cc435b21a451e (diff)
xfs: combine [a]sync buffer submission apis
The buffer I/O submission path consists of separate function calls per type. The buffer I/O type is already controlled via buffer state (XBF_ASYNC), however, so there is no real need for separate submission functions. Combine the buffer submission functions into a single function that processes the buffer appropriately based on XBF_ASYNC. Retain an internal helper with a conditional wait parameter to continue to support batched !XBF_ASYNC submission/completion required by delwri queues. Suggested-by: Christoph Hellwig <[email protected]> Signed-off-by: Brian Foster <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions