diff options
author | 2020-11-09 16:33:42 -0800 | |
---|---|---|
committer | 2020-12-01 20:36:35 +0100 | |
commit | 0d2e7c840b178bf9a47bd0de89d8f9182fa71d86 (patch) | |
tree | 451b96fa96a4b1253ee0f37ccd95b34be89c754f /tools/perf/scripts/python/stackcollapse.py | |
parent | nvme: simplify nvme_req_qid() (diff) | |
download | linux-dev-0d2e7c840b178bf9a47bd0de89d8f9182fa71d86.tar.xz linux-dev-0d2e7c840b178bf9a47bd0de89d8f9182fa71d86.zip |
nvme: centralize setting the timeout in nvme_alloc_request
The function nvme_alloc_request() is called from different context
(I/O and Admin queue) where callers do not consider the I/O timeout when
called from I/O queue context.
Update nvme_alloc_request() to set the default I/O and Admin timeout
value based on whether the queuedata is set or not.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions