[dm-devel] dm-cache: dirty state of blocks in writethrough mode

Heinz Mauelshagen heinzm at redhat.com
Tue Jul 23 13:26:08 UTC 2013


On 07/23/2013 08:44 AM, Vijarnia, Anil wrote:
> Hello,
> In Documentation/cache.txt, section 'Updating on-disk metadata' mentions that "If the system crashes all cache blocks will be assumed dirty when restarted".
> I am assuming that the above line is relevant for writeback mode only, and in writethrough mode the cache will always be coherent after a crash.
> Can someone confirm/reject this assumption?

That's correct

Reason being that the cache never holds any dirty pages in writethrough 
mode.

-- lvmguy

>   
> Thanks
>   
>   
>   
>   
>
>
>
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20130723/3ac573dc/attachment.htm>


More information about the dm-devel mailing list