All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Thumshirn <jthumshirn@suse.de>
To: Yannis Aribaud <bugs@d6bell.net>
Cc: Eric Wheeler <bcache@lists.ewheeler.net>,
	linux-bcache@vger.kernel.org,
	Kent Overstreet <kent.overstreet@gmail.com>
Subject: Re: bcache_gc: BUG: soft lockup
Date: Fri, 29 Jan 2016 12:54:44 +0100	[thread overview]
Message-ID: <20160129115444.GA30565@c203.arch.suse.de> (raw)
In-Reply-To: <df4137dc888a7058b4b6a290613bf890@rcube.hebserv.net>

[ +cc Kent ]

On Wed, Jan 27, 2016 at 02:57:25PM +0000, Yannis Aribaud wrote:
> Hi,
> 
> After several weeks using the 4.2.6 kernel + patches from Ewheeler we just ran into a crash again.
> This time the kernel was still running and the server was responsive but not able to do any IO on the bcache devices.
> 
> [696983.683498] bcache_writebac D ffffffff810643df     0  5741      2 0x00000000
> [696983.683505]  ffff88103d01f180 0000000000000046 ffff88107842d000 ffffffff811a95cd
> [696983.683510]  0000000000000000 ffff8810388c4000 ffff88103d01f180 0000000000000001
> [696983.683514]  ffff882034ae0c10 0000000000000000 ffff882034ae0000 ffffffff8139601e
> [696983.683518] Call Trace:
> [696983.683530]  [<ffffffff811a95cd>] ? blk_queue_bio+0x262/0x279
> [696983.683539]  [<ffffffff8139601e>] ? schedule+0x6b/0x78
> [696983.683553]  [<ffffffffa032ce9b>] ? closure_sync+0x66/0x91 [bcache]
> [696983.683563]  [<ffffffffa033c89f>] ? bch_writeback_thread+0x622/0x6b5 [bcache]
> [696983.683569]  [<ffffffff8100265c>] ? __switch_to+0x1de/0x3f7
> [696983.683578]  [<ffffffffa033c89f>] ? bch_writeback_thread+0x622/0x6b5 [bcache]
> [696983.683586]  [<ffffffffa033c27d>] ? write_dirty_finish+0x1bf/0x1bf [bcache]
> [696983.683594]  [<ffffffff810589d6>] ? kthread+0x99/0xa1
> [696983.683598]  [<ffffffff8105893d>] ? kthread_parkme+0x16/0x16
> [696983.683603]  [<ffffffff813986df>] ? ret_from_fork+0x3f/0x70
> [696983.683607]  [<ffffffff8105893d>] ? kthread_parkme+0x16/0x16
> 
> Don't know if this help.
> Unfortunately I thing that we will rollback and stop using Bcache unless this is really fixed :/
> 

Hi Yannis,

Do you have a machine with a bcache setup running where you can reproduce the
error? Or do you know a method to reproduce the error?

What I'd be interested in is which locks are held when it locks up (you can
acquire this information with SysRq+d or echo d > /proc/sysrq-trigger.

Kent, do you have an idea what's happening here?

> Regards,
> 
> 7 décembre 2015 11:35 "Yannis Aribaud" <bugs@d6bell.net> a écrit:
> > Hi everyone,
> > 
> > It's been one week I'm using a 4.2.6 kernel merged with the Bcache patches from Ewheeler and no
> > signs of any kind of trouble I had before.
> > Thus it seems your patches fix my soft lockup issue.
> > It's currently running on one of my ceph nodes, I will certainly push it on the others during the
> > next weeks.
> > 
> > It would be great to merge thoses patches upstream since it seems that using Bcache in production
> > requires those fixes.
> > 
> > Anyway, thanks to all of you for your time, advices and work on Bcache. I'll keep you updated.
> > 
> > Regards,
> > -- 
> > Open is better
> -- 
> Open is better

-- 
Johannes Thumshirn                                          Storage
jthumshirn@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

  parent reply	other threads:[~2016-01-29 11:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13 12:09 bcache_gc: BUG: soft lockup Yannis Aribaud
2015-11-13 12:37 ` Johannes Thumshirn
2015-11-13 12:55   ` Yannis Aribaud
2015-11-13 13:05     ` Johannes Thumshirn
2015-11-13 13:27       ` Yannis Aribaud
     [not found]     ` <9c96132d5fce4a5a77b1b086f7c6095d@rcube.hebserv.net>
2015-11-16  8:09       ` Johannes Thumshirn
2015-11-16 10:26         ` Yannis Aribaud
2015-11-27 12:23       ` Johannes Thumshirn
2015-11-27 12:32         ` Yannis Aribaud
2015-11-30  1:49           ` Eric Wheeler
2015-11-30  7:07             ` Johannes Thumshirn
2015-11-30  9:59               ` Yannis Aribaud
2015-12-07 10:35                 ` Yannis Aribaud
2016-01-27 14:57                   ` Yannis Aribaud
2016-01-27 15:16                     ` Johannes Thumshirn
2016-01-29 11:54                     ` Johannes Thumshirn [this message]
2016-01-29 12:54                       ` Yannis Aribaud
     [not found]                     ` <b91ce8156337b782c82317d25b3228bd@rcube.hebserv.net>
2016-05-11  1:11                       ` Eric Wheeler
2016-05-11  9:33                         ` Jens-U. Mozdzen
2016-05-11 18:26                           ` Eric Wheeler
2016-05-12 11:51                             ` Jens-U. Mozdzen
2016-05-16 11:01                         ` Yannis Aribaud
2016-05-19 23:26                           ` Eric Wheeler

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=20160129115444.GA30565@c203.arch.suse.de \
    --to=jthumshirn@suse.de \
    --cc=bcache@lists.ewheeler.net \
    --cc=bugs@d6bell.net \
    --cc=kent.overstreet@gmail.com \
    --cc=linux-bcache@vger.kernel.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 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.