block: fix revalidate performance regression
[platform/kernel/linux-starfive.git] / block / blk-iocost.c
index b706fd0..00d59d2 100644 (file)
@@ -232,7 +232,9 @@ enum {
 
        /* 1/64k is granular enough and can easily be handled w/ u32 */
        WEIGHT_ONE              = 1 << 16,
+};
 
+enum {
        /*
         * As vtime is used to calculate the cost of each IO, it needs to
         * be fairly high precision.  For example, it should be able to