aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2017-01-25 11:17:11 +0100
committerJens Axboe <[email protected]>2017-01-27 15:08:35 -0700
commite6f7f93d58de74700f83dd0547dd4306248a093d (patch)
tree613eaa03a0b573ca8f0ef82d148bf1303c025d3d /tools/perf/scripts/python
parent309bd96af9e26da3038661bf5cdad780eef49dd9 (diff)
block: fix elevator init check
We can't initalize the elevator fields for flushes as flush share space in struct request with the elevator data. But currently we can't communicate that a request is a flush through blk_get_request as we can only pass READ or WRITE, and the low-level code looks at the possible NULL bio to check for a flush. Fix this by allowing to pass any block op and flags, and by checking for the flush flags in __get_request. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions