Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Yu Kuai and committed by
Jens Axboe
9fc7900b ee4784a8

+1 -1
+1 -1
include/linux/blkdev.h
··· 550 550 /* 551 551 * queue settings 552 552 */ 553 - unsigned long nr_requests; /* Max # of requests */ 553 + unsigned int nr_requests; /* Max # of requests */ 554 554 555 555 #ifdef CONFIG_BLK_INLINE_ENCRYPTION 556 556 struct blk_crypto_profile *crypto_profile;