aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2018-11-27 17:02:25 -0700
committerJens Axboe <[email protected]>2018-11-29 10:11:56 -0700
commitd666ba98f849ad44c4405ecc2180390ebe80f4f9 (patch)
tree90c90e15f230ca59ec094620b3e08f51af9d035f /tools/perf/scripts/python/export-to-sqlite.py
parentce5b009cff1961137127edf91f44effd0eec8ffd (diff)
blk-mq: add mq_ops->commit_rqs()
blk-mq passes information to the hardware about any given request being the last that we will issue in this sequence. The point is that hardware can defer costly doorbell type writes to the last request. But if we run into errors issuing a sequence of requests, we may never send the request with bd->last == true set. For that case, we need a hook that tells the hardware that nothing else is coming right now. For failures returned by the drivers ->queue_rq() hook, the driver is responsible for flushing pending requests, if it uses bd->last to optimize that part. This works like before, no changes there. Reviewed-by: Omar Sandoval <[email protected]> Reviewed-by: Ming Lei <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions