aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-01-24 10:26:57 +0100
committerJens Axboe <[email protected]>2024-02-05 10:05:16 -0700
commit337e89feb7c29043dacd851b6ac28542a9a8aacf (patch)
tree78e31cd2cc06866ff9cbe5fa1b251d92b658d686 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent0f299da55ac3d28bc9de23a84fae01a85c4e253a (diff)
blk-mq: introduce a blk_mq_peek_cached_request helper
Add a new helper to check if there is suitable cached request in blk_mq_submit_bio. This removes open coded logic in blk_mq_submit_bio and moves some checks that so far are in blk_mq_use_cached_rq to be performed earlier. This avoids the case where we first do check with the cached request but then later end up allocating a new one anyway and need to grab a queue reference. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Tested-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions