From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kent Overstreet Subject: Re: Bcache causes data lose. Date: Thu, 7 Nov 2013 12:22:11 -0800 Message-ID: <20131107202211.GG3842@kmo> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-bcache-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yuxuan Shui Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-bcache@vger.kernel.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...