diff options
Diffstat (limited to 'include/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index de87dee16f83..722ebb04e25c 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -66,7 +66,10 @@ struct request { /* For packet commands */ unsigned int data_len; - void *data, *sense; + void *data; + + unsigned int sense_len; + void *sense; unsigned int timeout; struct completion *waiting; @@ -152,12 +155,6 @@ struct blk_queue_tag { int max_depth; }; -/* - * Default nr free requests per queue, ll_rw_blk will scale it down - * according to available RAM at init time - */ -#define QUEUE_NR_REQUESTS 8192 - struct request_queue { /* @@ -222,6 +219,12 @@ struct request_queue wait_queue_head_t queue_wait; struct blk_queue_tag *queue_tags; + + /* + * sg stuff + */ + unsigned int sg_timeout; + unsigned int sg_reserved_size; }; #define RQ_INACTIVE (-1) |
