On Fri, 29 Apr 2016, ching lu wrote: > Hello, > > i want to develop a script to perform data scrubbing periodically. I think you want to set dirty_percent to 0 and cache_mode=writethrough. Then wait a long time for dirty_percent to actually reach 0. -- Eric Wheeler > > For my use case, i think it is meaningless to scrub cached data. > > If i change the cache mode to "none", will it turn off the read cache too? > > Furthermore, will this invalidate cached data? (i do not want to "warm > up" the cache again after the scrubbing) > > Thanks in advance, > c > -- > To unsubscribe from this list: send the line "unsubscribe linux-bcache" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html