All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: Kent Overstreet <kmo@daterainc.com>,
	Mathijs Kwik <mathijs@bluescreen303.nl>
Subject: Re: Hibernate/Resume and dm-cache, dm-writeboost...
Date: Tue, 30 Dec 2014 10:32:29 +0000	[thread overview]
Message-ID: <20141230103228.GA31888@debian> (raw)
In-Reply-To: <549B0785.3060807@rolffokkens.nl>

On Wed, Dec 24, 2014 at 07:35:49PM +0100, Rolf Fokkens wrote:
> Hi all,
> 
> On the linux-bcache mailing list the potential issue was brought up
> about writes to backing or caching device after bringing up devices
> in initramdisk, but prior to an actual resume. The actual issue is
> that there should be no writes between hibernation and resume:
> 
> http://www.spinics.net/lists/linux-bcache/msg02692.html
> 
> If this is an issue for bcache, I can imagine it also is for other
> caching solutions like dm-cache and dm-writeboost. I'm not an expert
> on this, but from my user perspective it seems somewhat concerning
> (for both bcache and the DM caching solutions) and an expert view on
> this might be needed.

Thanks for bringing this to our attention.  I think dm-cache provides
the neccessary tools to do this; either setting the migration
threshold to zero, or switch to write through mode for the duration of
the hibernate.  But atm this would need to be triggered from userland.
I need to look at hibernate more.

- Joe

  reply	other threads:[~2014-12-30 10:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-24 18:35 Hibernate/Resume and dm-cache, dm-writeboost Rolf Fokkens
2014-12-30 10:32 ` Joe Thornber [this message]
2014-12-30 11:34   ` Akira Hayakawa

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=20141230103228.GA31888@debian \
    --to=thornber@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=kmo@daterainc.com \
    --cc=mathijs@bluescreen303.nl \
    /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.