[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241221093710.926309-5-yukuai1@huaweicloud.com>
Date: Sat, 21 Dec 2024 17:37:07 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: axboe@...nel.dk,
akpm@...ux-foundation.org,
ming.lei@...hat.com,
yang.yang@...o.com,
yukuai3@...wei.com,
bvanassche@....org
Cc: linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org,
yukuai1@...weicloud.com,
yi.zhang@...wei.com,
yangerkun@...wei.com
Subject: [PATCH RFC v3 4/7] block: change the filed nr_requests to unsgined int in request_queue
From: Yu Kuai <yukuai3@...wei.com>
Because currently all the callers are using it as unsigned int.
Signed-off-by: Yu Kuai <yukuai3@...wei.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 5d40af2ef971..8656ac4c3069 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -523,7 +523,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.39.2
Powered by blists - more mailing lists