diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-10-14 09:51:06 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-17 08:46:57 +0200 |
commit | 80a4b58e36b63d7b0b592beb1bd6410aadeeb63c (patch) | |
tree | a37df7feb2db67254cc8927730828e87706b2205 /block/genhd.c | |
parent | ee2e992cc28553f6c4dd1ab5483c8733c393626b (diff) | |
download | linux-80a4b58e36b63d7b0b592beb1bd6410aadeeb63c.tar.bz2 |
block: only call ->request_fn when the queue is not stopped
Callers should use either blk_run_queue/__blk_run_queue, or
blk_start_queueing() to invoke request handling instead of calling
->request_fn() directly as that does not take the queue stopped
flag into account.
Also add appropriate comments on the above functions to detail
their usage.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions