From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kent Overstreet Subject: Re: [bcachefs][tier] INFO: task bch_tier_read:21414 blocked for more than 120 seconds. Date: Mon, 17 Oct 2016 22:30:15 -0800 Message-ID: <20161018063015.q2fh32rmr33epcvu@kmo-pixel> References: <20161012012600.s2cq5ac37hwwrp3e@kmo-pixel> <20161012121105.ym3sed4tgc2vx3dh@kmo-pixel> <8312944b83a28b36f054c7a44d0fcbd8@mejor.pl> <856aa94d33dfbd22dbb377b5de22b0cc@mejor.pl> <20161018003031.ny2dodab32mhmv3p@kmo-pixel> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mail-pa0-f48.google.com ([209.85.220.48]:34723 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752700AbcJRGaT (ORCPT ); Tue, 18 Oct 2016 02:30:19 -0400 Received: by mail-pa0-f48.google.com with SMTP id rz1so68395730pab.1 for ; Mon, 17 Oct 2016 23:30:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: linux-bcache-owner@vger.kernel.org List-Id: linux-bcache@vger.kernel.org To: Marcin =?utf-8?B?TWlyb3PFgmF3?= Cc: linux-bcache@vger.kernel.org On Tue, Oct 18, 2016 at 08:07:14AM +0200, Marcin Mirosław wrote: > W dniu 2016-10-18 o 02:30, Kent Overstreet pisze: > > On Wed, Oct 12, 2016 at 09:51:17PM +0200, Marcin wrote: > > > W dniu 2016-10-12 21:19, Kent Overstreet napisał(a): > > > > It needs to return true, not false. > > > > > > It's not a bash, ok:) > > > > > > With: > > > --- a/drivers/md/bcache/journal.h > > > +++ b/drivers/md/bcache/journal.h > > > @@ -184,7 +184,8 @@ static inline unsigned jset_u64s(unsigned u64s) > > > > > > static inline bool journal_flushes_device(struct cache *ca) > > > { > > > - return ca->mi.tier == 0; > > > + /** return ca->mi.tier == 0; **/ > > > + return true; > > > > Chris retested with the latest bcache-dev and it seems to be working for him > > now - can you retest with bcache-dev too? > > > Hi! > I retested, I can't trigger this bug again. It looks you fixed this. Thanks! Great! > I noticed that umounting filesystem gives me such messages: > [ 4460.050248] bch_write: 7 callbacks suppressed > [ 4460.050261] bcache (53f02c70-608f-48e9-bdb9-53132b44fce4): IO error: read > only > [ 4460.240296] bcache (53f02c70-608f-48e9-bdb9-53132b44fce4): stopped > > Is it something important? Oh, it looks like things are getting shutdown in slightly the wrong order now. It's completely harmless, though.