[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 <axboe@suse.de>
This commit is contained in:
Jens Axboe 2006-07-12 14:04:37 +02:00 коммит произвёл Jens Axboe
Родитель 5380a101d3
Коммит ff7d145fd9
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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 */