public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@redhat.com>
To: OS Engineering <osengineering@stec-inc.com>
Cc: "koverstreet@google.com" <koverstreet@google.com>,
	"linux-bcache@vger.kernel.org" <linux-bcache@vger.kernel.org>,
	"dm-devel@redhat.com" <dm-devel@redhat.com>,
	LKML <linux-kernel@vger.kernel.org>, Jens Axboe <axboe@kernel.dk>,
	Padmini Balasubramaniyan <padminib@stec-inc.com>,
	Amit Phansalkar <aphansalkar@stec-inc.com>
Subject: Re: Performance Comparison among EnhanceIO, bcache and dm-cache.
Date: Mon, 17 Jun 2013 11:29:44 +0100	[thread overview]
Message-ID: <20130617102943.GA11121@debian> (raw)
In-Reply-To: <D399C715A2AD7F4F891A75871FC3117507866B@MYMBX3.stec-inc.ad>

On Tue, Jun 11, 2013 at 03:05:07PM +0000, OS Engineering wrote:

...

> Dm-cache commits on-disk metadata every time a REQ_SYNC or REQ_FUA
> bio is written. If no such requests are made then it commits
> metadata once every second. If power is lost, it may lose some
> recent writes.

Not true (though it is true for thinp, which may be where you got this
idea?).  For caching we have to commit whenever data is moved about,
otherwise a crash could result in us reading data that is not just out
of date (acceptable for some), but used to belong to a totally
different part of the device (always unacceptable).

- Joe

  parent reply	other threads:[~2013-06-17 10:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11 15:05 Performance Comparison among EnhanceIO, bcache and dm-cache OS Engineering
2013-06-12  4:58 ` Amit Kale
2013-06-12 11:39   ` OS Engineering
2013-06-17 10:29 ` Joe Thornber [this message]
2013-06-18 16:30   ` [dm-devel] " Michael Fortson
     [not found] ` <CAMM=eLfKku3CuHUS-0Akv=FdEzk_OWz3j+3oTAWCrFnFLZ0b1g@mail.gmail.com>
2013-07-02  8:25   ` OS Engineering

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=20130617102943.GA11121@debian \
    --to=thornber@redhat.com \
    --cc=aphansalkar@stec-inc.com \
    --cc=axboe@kernel.dk \
    --cc=dm-devel@redhat.com \
    --cc=koverstreet@google.com \
    --cc=linux-bcache@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=osengineering@stec-inc.com \
    --cc=padminib@stec-inc.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