diff options
author | Jens Axboe <axboe@suse.de> | 2006-07-12 08:04:37 -0400 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 14:27:01 -0400 |
commit | ff7d145fd911266ae42af7552edc32681c01addb (patch) | |
tree | 03ddb7b02e6cbeeda1c0c68af5d67c907e98ad7e /include/linux | |
parent | 5380a101d33d1d3a32c6b6bd2e17e5dd835842b0 (diff) |
[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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/blkdev.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 55ef6efe3eb5..d2dc17151f6c 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -232,7 +232,13 @@ struct request { | |||
232 | struct hlist_node hash; /* merge hash */ | 232 | struct hlist_node hash; /* merge hash */ |
233 | struct rb_node rb_node; /* sort/lookup */ | 233 | struct rb_node rb_node; /* sort/lookup */ |
234 | 234 | ||
235 | /* | ||
236 | * two pointers are available for the IO schedulers, if they need | ||
237 | * more they have to dynamically allocate it. | ||
238 | */ | ||
235 | void *elevator_private; | 239 | void *elevator_private; |
240 | void *elevator_private2; | ||
241 | |||
236 | void *completion_data; | 242 | void *completion_data; |
237 | 243 | ||
238 | int rq_status; /* should split this into a few status bits */ | 244 | int rq_status; /* should split this into a few status bits */ |