From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Roesner 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 Message-ID: <56F6BCD8.70504@roesner-online.de> References: <56F4058B.1030309@roesner-online.de> <56F54712.6090202@roesner-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-bcache-owner@vger.kernel.org To: Ming Lei , Eric Wheeler Cc: linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org, Ming Lin , Vlad-Cosmin Miu , rjones@redhat.com, Kent Overstreet List-Id: linux-raid.ids 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