diff options
author | 2022-05-21 15:37:46 +0800 | |
---|---|---|
committer | 2022-05-27 20:39:33 -0600 | |
commit | 2895f1831e911ca87d4efdf43e35eb72a0c7e66e (patch) | |
tree | 57f84e53d2d602368e19263d50806375e79098f2 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | nbd: fix race between nbd_alloc_config() and module removal (diff) | |
download | linux-dev-2895f1831e911ca87d4efdf43e35eb72a0c7e66e.tar.xz linux-dev-2895f1831e911ca87d4efdf43e35eb72a0c7e66e.zip |
nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completed
Otherwise io will hung because request will only be completed if the
cmd has the flag 'NBD_CMD_INFLIGHT'.
Fixes: 07175cb1baf4 ("nbd: make sure request completion won't concurrent")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20220521073749.3146892-4-yukuai3@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions