[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20251116032044.118664-2-yukuai@fnnas.com>
Date: Sun, 16 Nov 2025 11:20:35 +0800
From: "Yu Kuai" <yukuai@...as.com>
To: <axboe@...nel.dk>, <linux-block@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Cc: <yukuai@...as.com>, <nilay@...ux.ibm.com>, <bvanassche@....org>
Subject: [PATCH RESEND v4 1/7] 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@...as.com>
Reviewed-by: Nilay Shroff <nilay@...ux.ibm.com>
---
include/linux/blkdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 2fff8a80dbd2..bedcaa59feec 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -551,7 +551,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;
--
2.51.0
Powered by blists - more mailing lists