diff options
Diffstat (limited to 'include/linux/blkdev.h')
| -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 8bc46c250ca..c9d233e727f 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -378,6 +378,12 @@ struct request_queue { | |||
| 378 | 378 | ||
| 379 | unsigned int nr_sorted; | 379 | unsigned int nr_sorted; |
| 380 | unsigned int in_flight[2]; | 380 | unsigned int in_flight[2]; |
| 381 | /* | ||
| 382 | * Number of active block driver functions for which blk_drain_queue() | ||
| 383 | * must wait. Must be incremented around functions that unlock the | ||
| 384 | * queue_lock internally, e.g. scsi_request_fn(). | ||
| 385 | */ | ||
| 386 | unsigned int request_fn_active; | ||
| 381 | 387 | ||
| 382 | unsigned int rq_timeout; | 388 | unsigned int rq_timeout; |
| 383 | struct timer_list timeout; | 389 | struct timer_list timeout; |
