diff options
author | 2015-06-02 08:35:10 +0900 | |
---|---|---|
committer | 2015-06-01 20:09:05 -0600 | |
commit | 8b70f45e2eb275da886b9c9dee190436d12d876a (patch) | |
tree | ae6830a996f4e54980dc8c8bcdf4a2a058e9b38e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | null_blk: prevent timer handler running on a different CPU where started (diff) | |
download | linux-dev-8b70f45e2eb275da886b9c9dee190436d12d876a.tar.xz linux-dev-8b70f45e2eb275da886b9c9dee190436d12d876a.zip |
null_blk: restart request processing on completion handler
When irqmode=2 (IRQ completion handler is timer) and queue_mode=1
(Block interface to use is rq), the completion handler should restart
request handling for any pending requests on a queue because request
processing stops when the number of commands are queued more than
hw_queue_depth (null_rq_prep_fn returns BLKPREP_DEFER).
Without this change, the following command cannot finish.
# modprobe null_blk irqmode=2 queue_mode=1 hw_queue_depth=1
# fio --name=t --rw=read --size=1g --direct=1 \
--ioengine=libaio --iodepth=64 --filename=/dev/nullb0
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions