From: Jens Axboe Date: Wed, 12 Jul 2006 12:04:37 +0000 (+0200) Subject: [PATCH] Add one more pointer to struct request for IO scheduler usage X-Git-Tag: v2.6.19-rc1~640^2~53 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ff7d145fd911266ae42af7552edc32681c01addb;p=linux-2.6-omap-h63xx.git [PATCH] Add one more pointer to struct request for IO scheduler usage Then we have enough room in the request to get rid of the dynamic allocations in CFQ/AS. Signed-off-by: Jens Axboe --- diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 55ef6efe3eb..d2dc17151f6 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -232,7 +232,13 @@ struct request { struct hlist_node hash; /* merge hash */ struct rb_node rb_node; /* sort/lookup */ + /* + * two pointers are available for the IO schedulers, if they need + * more they have to dynamically allocate it. + */ void *elevator_private; + void *elevator_private2; + void *completion_data; int rq_status; /* should split this into a few status bits */