From 4875253fddd7b6d322f028ad023d44b6efb7f73b Mon Sep 17 00:00:00 2001 From: Omar Sandoval Date: Tue, 21 Mar 2017 08:56:07 -0700 Subject: blk-stat: move BLK_RQ_STAT_BATCH definition to blk-stat.c This is an implementation detail that no-one outside of blk-stat.c uses. Signed-off-by: Omar Sandoval Signed-off-by: Jens Axboe --- block/blk-stat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'block/blk-stat.c') diff --git a/block/blk-stat.c b/block/blk-stat.c index f80582be5344..4681c488c262 100644 --- a/block/blk-stat.c +++ b/block/blk-stat.c @@ -9,6 +9,8 @@ #include "blk-stat.h" #include "blk-mq.h" +#define BLK_RQ_STAT_BATCH 64 + static void blk_stat_flush_batch(struct blk_rq_stat *stat) { const s32 nr_batch = READ_ONCE(stat->nr_batch); -- cgit