From: Sebastian Roesner <sroesner-kernelorg@roesner-online.de>
To: Ming Lei <ming.lei@canonical.com>,
Eric Wheeler <bcache@lists.ewheeler.net>
Cc: linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org,
Ming Lin <mlin@kernel.org>, Vlad-Cosmin Miu <miuvlad@gmail.com>,
rjones@redhat.com, Kent Overstreet <kent.overstreet@gmail.com>
Subject: Re: [BUG] NULL pointer in raid1_make_request passed to bio_trim when adding md as bcache caching dev
Date: Sat, 26 Mar 2016 17:46:16 +0100 [thread overview]
Message-ID: <56F6BCD8.70504@roesner-online.de> (raw)
In-Reply-To: <CACVXFVO7ARehcQHvBuRoVHZhc0BgA5kKxaPQTqMT7Y=4Ca6urw@mail.gmail.com>
Hello Ming, Eric,
Am 26.03.2016 um 16:40 schrieb Ming Lei:
> From the trace, looks the bio returned from bio_clone_mddev() is NULL,
> and maybe the source bio is buggy, something like the attached patch
> might be helpful, could you apply the attached debug patch, reproduce
> and post the log?
I was able to reproduce it on a non-productive system, but only after
copying the bcache superblocks/partition starts from the original
system, with new created ones it worked fine.
Full trace and check_bio output can be found here:
http://pastebin.com/ngvGGHBZ
Sebastian
next prev parent reply other threads:[~2016-03-26 16:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <56F4058B.1030309@roesner-online.de>
[not found] ` <alpine.LRH.2.11.1603250126110.13440@mail.ewheeler.net>
[not found] ` <alpine.LRH.2.11.1603250416030.13440@mail.ewheeler.net>
[not found] ` <56F54712.6090202@roesner-online.de>
2016-03-25 20:44 ` [BUG] NULL pointer in raid1_make_request passed to bio_trim when adding md as bcache caching dev Eric Wheeler
2016-03-25 21:32 ` Eric Wheeler
2016-03-26 15:40 ` Ming Lei
2016-03-26 16:46 ` Sebastian Roesner [this message]
2016-03-28 18:10 ` Shaohua Li
2016-03-28 18:38 ` Jeff Moyer
2016-03-29 1:28 ` Ming Lei
2016-04-01 18:14 ` Eric Wheeler
2016-04-10 18:01 ` Sebastian Roesner
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=56F6BCD8.70504@roesner-online.de \
--to=sroesner-kernelorg@roesner-online.de \
--cc=bcache@lists.ewheeler.net \
--cc=kent.overstreet@gmail.com \
--cc=linux-bcache@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=ming.lei@canonical.com \
--cc=miuvlad@gmail.com \
--cc=mlin@kernel.org \
--cc=rjones@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).