commit | 80a4b58e36b63d7b0b592beb1bd6410aadeeb63c | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Oct 14 09:51:06 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Oct 17 08:46:57 2008 +0200 |
tree | a37df7feb2db67254cc8927730828e87706b2205 | |
parent | ee2e992cc28553f6c4dd1ab5483c8733c393626b [diff] |
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>