aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2015-04-16 21:58:21 +1000
committerDave Chinner <[email protected]>2015-04-16 21:58:21 +1000
commit1fdca9c21198b2c2869086ac3629612492476f28 (patch)
treeb2ec1608fd65a331eb518c13420bc75c4f02ee52 /tools/perf/scripts/python/call-graph-from-postgresql.py
parenta719370be52d1152a5f6e19c4af3b73280e25475 (diff)
xfs: move DIO mapping size calculation
The mapping size calculation is done last in __xfs_get_blocks(), but we are going to need the actual mapping size we will use to map the direct IO correctly in xfs_map_direct(). Factor out the calculation for code clarity, and move the call to be the first operation in mapping the extent to the returned buffer. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Brian Foster <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions