Jens Axboe
95f0968499
blk-mq: allow non-softirq completions
...
Right now we export two ways of completing a request:
1) blk_mq_complete_request(). This uses an IPI (if needed) and
completes through q->softirq_done_fn(). It also works with
timeouts.
2) blk_mq_end_io(). This completes inline, and ignores any timeout
state of the request.
Let blk_mq_complete_request() handle non-softirq_done_fn completions
as well, by just completing inline. If a driver has enough completion
ports to place completions correctly, it need not define a
mq_ops->complete() and we can avoid an indirect function call by
doing the completion inline.
Signed-off-by: Jens Axboe <axboe@fb.com >
2014-05-27 17:46:48 -06:00
..
2014-04-04 21:08:20 -07:00
2014-04-05 15:46:37 -07:00
2014-04-04 21:07:28 -07:00
2014-04-03 16:21:12 -07:00
2014-04-09 08:45:40 -07:00
2014-04-10 09:06:10 -07:00
2014-04-09 08:39:39 -07:00
2014-04-10 09:06:10 -07:00
2014-04-02 16:23:38 -07:00
2014-04-12 17:31:22 -07:00
2014-04-02 20:53:45 -07:00
2014-04-10 17:51:29 -04:00
2014-04-03 16:20:49 -07:00
2014-04-03 16:21:09 -07:00
2014-04-07 16:36:05 -07:00
2014-04-22 15:09:05 -06:00
2014-05-13 15:10:52 -06:00
2014-05-27 17:46:48 -06:00
2014-05-13 15:10:52 -06:00
2014-04-01 23:19:19 -04:00
2014-04-02 12:51:41 -07:00
2014-04-09 13:44:35 -07:00
2014-04-09 13:44:35 -07:00
2014-04-07 14:55:46 -07:00
2014-04-07 14:43:50 +02:00
2014-04-03 16:20:58 -07:00
2014-04-07 16:36:06 -07:00
2014-04-03 16:21:05 -07:00
2014-04-03 16:21:06 -07:00
2014-04-01 23:19:14 -04:00
2014-04-12 14:49:50 -07:00
2014-04-03 16:20:51 -07:00
2014-04-08 20:43:28 -04:00
2014-04-02 16:24:28 -07:00
2014-04-04 09:12:49 +02:00
2014-04-03 16:20:59 -07:00
2014-04-07 16:36:07 -07:00
2014-04-07 16:36:11 -07:00
2014-04-06 09:38:07 -07:00
2014-04-03 16:20:50 -07:00
2014-04-03 16:21:04 -07:00
2014-04-07 16:36:14 -07:00
2014-04-03 16:21:01 -07:00
2014-04-07 16:36:13 -07:00
2014-04-07 16:35:54 -07:00
2014-04-02 20:53:45 -07:00
2014-04-13 13:28:13 -07:00
2014-04-12 12:38:53 -07:00
2014-04-07 16:35:55 -07:00
2014-04-03 16:21:01 -07:00
2014-04-09 13:44:35 -07:00
2014-04-06 09:38:07 -07:00
2014-04-01 23:19:08 -04:00
2014-04-01 23:19:10 -04:00
2014-04-03 14:31:34 -04:00
2014-04-03 14:29:12 -04:00
2014-04-03 16:21:26 -07:00
2014-04-07 10:59:19 -07:00
2014-04-11 16:45:59 -07:00
2014-04-02 14:27:15 -07:00
2014-04-04 00:31:49 +01:00
2014-04-03 16:21:04 -07:00
2014-04-03 16:21:00 -07:00
2014-04-07 16:36:14 -07:00
2014-04-12 14:49:50 -07:00
2014-04-03 16:21:08 -07:00
2014-04-03 16:20:54 -07:00
2014-04-03 16:21:01 -07:00
2014-04-07 16:35:54 -07:00
2014-04-07 16:36:07 -07:00
2014-04-12 12:38:53 -07:00
2014-04-03 16:21:00 -07:00
2014-04-02 20:53:45 -07:00
2014-04-13 13:28:13 -07:00
2014-04-07 16:36:13 -07:00
2014-04-03 16:21:01 -07:00
2014-04-12 13:06:10 -07:00
2014-04-06 09:38:07 -07:00
2014-04-07 16:36:13 -07:00
2014-04-09 10:12:11 -04:00
2014-04-02 20:53:45 -07:00
2014-04-01 23:19:21 -04:00
2014-04-03 16:21:04 -07:00
2014-04-07 16:35:53 -07:00
2014-04-07 16:36:14 -07:00
2014-04-07 11:24:06 -07:00
2014-04-07 16:35:57 -07:00