aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2007-07-16 02:52:14 -0400
committerJens Axboe <jens.axboe@oracle.com>2007-07-16 02:52:46 -0400
commitabae1fde63fcdd2a3abaa0d7930938d8326f83d2 (patch)
tree4b61cd4e13b511229193549162607894badab984 /block
parentefba1a31f3f8fe9672eb96cd26e97fb96891f1c0 (diff)
add a struct request pointer to the request structure
This adds a struct request pointer to the request structure for the second data phase (bidi for now). A request queue supporting bidi requests sets QUEUE_FLAG_BIDI. This prevents sending bidi requests to a non-bidi queue. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r--block/ll_rw_blk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index ef42bb2b12b6..11e4235d0b0c 100644
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -256,6 +256,7 @@ static void rq_init(request_queue_t *q, struct request *rq)
256 rq->end_io = NULL; 256 rq->end_io = NULL;
257 rq->end_io_data = NULL; 257 rq->end_io_data = NULL;
258 rq->completion_data = NULL; 258 rq->completion_data = NULL;
259 rq->next_rq = NULL;
259} 260}
260 261
261/** 262/**