Hi Slava, Thanks for your reply. On Sun, Oct 12, 2014 at 08:16:31PM -0700, Slava Pestov wrote: > You can try to detach the backing device, which will cause all dirty > data to be written back, and attach it again. Yes, detaching a backing device will make all dirty data to be written back to the backing device. But if I understand correctly it couldn't invalidate all data in cache device. That means that after attaching backing device the data in cache device is still valid. All I want to do is to remove all data in cache device. Any idea? Regards, - Zheng > > On Sun, Oct 12, 2014 at 8:03 PM, Zheng Liu <gnehzuil.liu@xxxxxxxxx> wrote: > > Hi all, > > > > I am trying to do some benchmarks against bcache, espeically in cache > > miss scenario, but I don't find a user interface to invalidate all > > cache. Anyone can tell me how to do that. > > > > Thanks in advance, > > - Zheng > > -- > > 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