bcache: writeback rate shouldn't artifically clamp
[sfrench/cifs-2.6.git] / drivers / md / bcache / util.h
index cb8d2ccbb6c6e7223aa0f806d45546c56421de7e..8f509290bb02ec1b77c9306e983adada04aa3351 100644 (file)
@@ -441,10 +441,10 @@ struct bch_ratelimit {
        uint64_t                next;
 
        /*
-        * Rate at which we want to do work, in units per nanosecond
+        * Rate at which we want to do work, in units per second
         * The units here correspond to the units passed to bch_next_delay()
         */
-       unsigned                rate;
+       uint32_t                rate;
 };
 
 static inline void bch_ratelimit_reset(struct bch_ratelimit *d)