Kiyoshi Ueda
e3a04fe34a
blk_end_request: add bidi completion interface (take 4)
...
This patch adds a variant of the interface, blk_end_bidi_request(),
which completes a bidi request.
Bidi request must be completed as a whole, both rq and rq->next_rq
at once. So the interface has 2 arguments for completion size.
As for ->end_io, only rq->end_io is called (rq->next_rq->end_io is not
called). So if special completion handling is needed, the handler
must be set to rq->end_io.
And the handler must take care of freeing next_rq too, since
the interface doesn't care of it if rq->end_io is not NULL.
Cc: Boaz Harrosh <bharrosh@panasas.com >
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com >
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com >
Signed-off-by: Jens Axboe <jens.axboe@oracle.com >
2008-01-28 10:37:08 +01:00
..
2008-01-27 18:14:49 +01:00
2007-12-12 20:01:01 +01:00
2007-12-26 19:36:35 -08:00
2008-01-23 21:26:15 -05:00
2007-12-17 19:28:16 -08:00
2008-01-23 05:24:15 -05:00
2008-01-23 11:29:17 -06:00
2008-01-28 10:37:08 +01:00
2008-01-23 05:24:14 -05:00
2008-01-25 21:08:02 +01:00
2008-01-06 12:39:42 -08:00
2008-01-11 08:17:01 +11:00
2008-01-25 21:08:02 +01:00
2007-12-20 17:32:12 +00:00
2008-01-24 21:04:46 -08:00
2008-01-25 14:46:04 -08:00
2008-01-25 14:46:04 -08:00
2008-01-24 20:40:05 -08:00
2008-01-23 21:23:13 -05:00
2007-12-18 08:29:28 +01:00
2008-01-24 20:40:13 -08:00
2008-01-25 21:08:34 +01:00
2008-01-24 20:40:36 -08:00
2008-01-25 21:08:33 +01:00
2008-01-25 22:17:14 +01:00
2008-01-25 21:08:31 +01:00
2007-12-17 19:28:17 -08:00
2008-01-11 08:16:16 +11:00
2008-01-27 18:14:50 +01:00
2008-01-27 18:14:52 +01:00
2008-01-26 20:13:12 +01:00
2007-12-07 15:00:32 -05:00
2007-12-05 05:37:32 -08:00
2008-01-25 21:08:30 +01:00
2008-01-25 21:08:23 +01:00
2007-12-18 18:05:58 +01:00
2007-12-05 09:21:20 -08:00
2008-01-25 21:08:34 +01:00
2008-01-25 14:46:04 -08:00
2008-01-25 21:08:28 +01:00
2008-01-08 16:10:35 -08:00
2008-01-24 21:27:06 -08:00
2008-01-24 20:40:05 -08:00
2008-01-25 21:08:34 +01:00
2007-12-07 09:06:53 +00:00
2008-01-23 05:24:16 -05:00
2008-01-25 11:29:49 +11:00
2008-01-24 20:40:35 -08:00
2008-01-08 23:30:07 -08:00
2007-12-14 13:54:39 -08:00
2008-01-25 21:08:02 +01:00
2008-01-24 20:40:14 -08:00
2008-01-23 05:24:17 -05:00
2007-12-04 15:06:33 -05:00
2008-01-24 20:40:06 -08:00
2008-01-24 20:40:43 -08:00
2008-01-11 12:26:47 -05:00
2008-01-11 12:26:47 -05:00
2007-12-27 23:55:13 -05:00
2007-12-05 09:21:20 -08:00
2008-01-02 13:13:27 -08:00
2007-12-23 12:54:36 -08:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-11 10:12:55 +01:00
2008-01-25 21:08:35 +01:00
2008-01-25 11:29:54 +11:00
2008-01-02 13:04:48 -08:00
2008-01-02 13:04:48 -08:00
2008-01-02 13:04:48 -08:00
2008-01-25 21:08:33 +01:00
2008-01-25 21:08:34 +01:00
2008-01-24 20:40:40 -08:00
2008-01-23 11:29:18 -06:00
2007-12-05 15:46:09 +01:00
2008-01-24 20:40:06 -08:00
2008-01-25 21:08:20 +01:00
2008-01-08 16:16:34 -08:00
2008-01-24 20:40:26 -08:00
2007-12-17 10:47:14 -08:00
2007-12-17 10:47:15 -08:00
2007-12-26 19:36:35 -08:00
2008-01-16 09:51:58 +01:00
2008-01-14 21:21:29 -08:00