mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
block: convert nr_requests to unsigned int
This value represents the number of requests for elevator tags, or drivers tags if elevator is none. The max value for elevator tags is 2048, and in drivers at most 16 bits is used for tag. Signed-off-by: Yu Kuai <yukuai@fnnas.com> Reviewed-by: Nilay Shroff <nilay@linux.ibm.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
ee4784a83f
commit
9fc7900b14
1 changed files with 1 additions and 1 deletions
|
|
@ -550,7 +550,7 @@ struct request_queue {
|
|||
/*
|
||||
* queue settings
|
||||
*/
|
||||
unsigned long nr_requests; /* Max # of requests */
|
||||
unsigned int nr_requests; /* Max # of requests */
|
||||
|
||||
#ifdef CONFIG_BLK_INLINE_ENCRYPTION
|
||||
struct blk_crypto_profile *crypto_profile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue