aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2021-09-16 17:33:47 +0800
committerJens Axboe <[email protected]>2021-10-18 14:50:37 -0600
commit0de2b7a4dd08eeb82b8cc3fe5d6b8ba49a32f7bd (patch)
treef692a661f4d12c93fac13a3cc9ea02b977efd53b /tools/perf/scripts/python/check-perf-trace.py
parentfcf3d633d8e101e84a0e072ab79957b938ac7e06 (diff)
nbd: don't start request if nbd_queue_rq() failed
commit 6a468d5990ec ("nbd: don't start req until after the dead connection logic") move blk_mq_start_request() from nbd_queue_rq() to nbd_handle_cmd() to skip starting request if the connection is dead. However, request is still started in other error paths. Currently, blk_mq_end_request() will be called immediately if nbd_queue_rq() failed, thus start request in such situation is useless. So remove blk_mq_start_request() from error paths in nbd_handle_cmd(). Signed-off-by: Yu Kuai <[email protected]> Reviewed-by: Ming Lei <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions