All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: all cache blocks marked as dirty in writethrough mode, "Data loss may occur", constant write activity
Date: Mon, 30 Jun 2014 12:25:13 +0100	[thread overview]
Message-ID: <20140630112513.GA3893@debian> (raw)
In-Reply-To: <20140630091403.GB3098@debian>

On Mon, Jun 30, 2014 at 10:14:03AM +0100, Joe Thornber wrote:
> - There's a constant 4k background load to the metadata device.
> 
>   I'll look into this.  Sounds like the periodic commit is re writing
>   the superblock even if there's no change to the mappings.

I've added this test to the dm test suite:

https://github.com/jthornber/device-mapper-test-suite/blob/master/lib/dmtest/tests/cache/io_use_tests.rb

Using my latest development tree I can't see any spurious IO.

I also instrumented to see exactly when the superblock is written,
again nothing happens while the cache is idle.  So I'm puzzled about
what you are seeing.

- Joe

      reply	other threads:[~2014-06-30 11:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-28 22:54 all cache blocks marked as dirty in writethrough mode, "Data loss may occur", constant write activity Marc Lehmann
2014-06-30  9:14 ` Joe Thornber
2014-06-30 11:25   ` Joe Thornber [this message]

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=20140630112513.GA3893@debian \
    --to=thornber@redhat.com \
    --cc=dm-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.