bcache: set max writeback rate when I/O request is idle
[sfrench/cifs-2.6.git] / drivers / md / bcache / util.h
index cced87f8eb278fcfe9715fdc24c887f3b06109a1..f7b0133c9d2f1aacd08dec33af2924df8594ebc9 100644 (file)
@@ -442,7 +442,7 @@ struct bch_ratelimit {
         * Rate at which we want to do work, in units per second
         * The units here correspond to the units passed to bch_next_delay()
         */
-       uint32_t                rate;
+       atomic_long_t           rate;
 };
 
 static inline void bch_ratelimit_reset(struct bch_ratelimit *d)