public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Kent Overstreet <kmo-PEzghdH756F8UrSeD/g0lQ@public.gmane.org>
To: Yuxuan Shui <yshuiv7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Bcache causes data lose.
Date: Thu, 7 Nov 2013 12:22:11 -0800	[thread overview]
Message-ID: <20131107202211.GG3842@kmo> (raw)
In-Reply-To: <CAMJW5=23t=jQRObnB5NHU8hTRBg6bCyW2m0+HCgtS8dxd82rRg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Thu, Nov 07, 2013 at 10:39:39AM +0000, Yuxuan Shui wrote:
> Hi,
> 
> I'm trying bcache for the past two days. And I observed several data
> corruptions.
> 
> This happens with both writeback and writethrough cache. After reboot,
> I saw my filesystem corrupted. With writeback cache, there's no way to
> recover it. With writethrough cache, after I detach the backing device
> from the cache set, I can mount my filesystem again. So I think this
> is cleanly a bcache bug.
> 
> I don't know if above information is enough, if you need to anything,
> I'll do my best to provide

That's not good :/ Can you tell me everything that's in your setup? md/lvm/what
drivers you're using for your drives/anything else that might be relevant...

  parent reply	other threads:[~2013-11-07 20:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 10:39 Bcache causes data lose Yuxuan Shui
     [not found] ` <CAMJW5=23t=jQRObnB5NHU8hTRBg6bCyW2m0+HCgtS8dxd82rRg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-07 13:06   ` Zachary Palmer
     [not found]     ` <527B9064.6050902-J5qI5MFTcs8@public.gmane.org>
2013-11-07 17:36       ` Yuxuan Shui
2013-11-07 20:22   ` Kent Overstreet [this message]
2013-11-08  4:13     ` Yuxuan Shui
     [not found]       ` <CAGqt0zy08jmT5NW62OEwV_1nH1aeN=ZYW7XiD9UwG3TSRk4R8A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-09 10:25         ` Bcache causes data lose / BTRFS Rolf Fokkens

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=20131107202211.GG3842@kmo \
    --to=kmo-pezghdh756f8ursed/g0lq@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=yshuiv7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /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