dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Kumar amit mehta <gmate.amit@gmail.com>
To: Heinz Mauelshagen <heinzm@redhat.com>
Cc: dm-devel@redhat.com
Subject: Re: dm-cache: dirty state of blocks in writethrough mode
Date: Wed, 24 Jul 2013 09:02:20 -0400	[thread overview]
Message-ID: <20130724130220.GC6963@gmail.com> (raw)
In-Reply-To: <51F00977.7060802@redhat.com>

On Wed, Jul 24, 2013 at 07:05:59PM +0200, Heinz Mauelshagen wrote:
> dm-cache maintains it's own metadata keeping track of any cached
> blocks properties
> such as a block being dirty in case of writeback.
> 
> If any write in writeback mode hits a cache block, the cache metadata will
> reflect that dirty state before the write's being reported to the
> application.
> 
> After a crashed system rebooted, that information is available to flush a
> dirty block out on eviction.

Ahh, so It is the metadata device. Maybe overkill, but is it
possible to keep redundant copies of this metadata, like user space
utilities such as LVM2 does?

!!amit

  reply	other threads:[~2013-07-24 13:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23  6:44 dm-cache: dirty state of blocks in writethrough mode Vijarnia, Anil
2013-07-23 13:26 ` Heinz Mauelshagen
2013-07-24 10:24   ` Kumar amit mehta
2013-07-24 17:05     ` Heinz Mauelshagen
2013-07-24 13:02       ` Kumar amit mehta [this message]
2013-07-25 10:45         ` Heinz Mauelshagen
2013-07-26  2:45           ` Kumar amit mehta
2013-07-26 11:14             ` Heinz Mauelshagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130724130220.GC6963@gmail.com \
    --to=gmate.amit@gmail.com \
    --cc=dm-devel@redhat.com \
    --cc=heinzm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).