[PATCH 5/5] block, bfq: change type for "bfq_large_burst_thresh"

Yuwei Guan posted 5 patches 3 years, 5 months ago
[PATCH 5/5] block, bfq: change type for "bfq_large_burst_thresh"
Posted by Yuwei Guan 3 years, 5 months ago
"int" type is more suitable for "bfq_large_burst_thresh",
so change it from "unsigned long" to "int".

Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com>
---
 block/bfq-iosched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index b022e5ec0871..df866936380e 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -701,7 +701,7 @@ struct bfq_data {
 	/* Maximum burst size above which the current queue-activation
 	 * burst is deemed as 'large'.
 	 */
-	unsigned long bfq_large_burst_thresh;
+	int bfq_large_burst_thresh;
 	/* true if a large queue-activation burst is in progress */
 	bool large_burst;
 	/*
-- 
2.34.1