Re[2]: How to invalidate all cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Zheng,

Monday, October 13, 2014, 10:45:37 AM, you wrote:

> 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.

It  would  be  a  bug if cached data were considered valid after detaching and
re-attaching. Because while a cache device an a backing device were separated,
data  could be written to a backing device, this would possibly make data in a
"disconnected" cache obsolete.

Pavel Goran
  

--
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux