From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753506AbdDMNpP (ORCPT ); Thu, 13 Apr 2017 09:45:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60952 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751114AbdDMNpK (ORCPT ); Thu, 13 Apr 2017 09:45:10 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D71438F86C Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=ming.lei@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com D71438F86C Date: Thu, 13 Apr 2017 21:44:58 +0800 From: Ming Lei To: Johannes Thumshirn Cc: Jens Axboe , Omar Sandoval , Bart Van Assche , Hannes Reinecke , Christoph Hellwig , Linux Block Layer Mailinglist , Linux Kernel Mailinglist Subject: Re: [PATCH] block: bios with an offset are always gappy Message-ID: <20170413134457.GC32362@ming.t460p> References: <20170413080629.7610-1-jthumshirn@suse.de> <20170413100110.GB5964@ming.t460p> <20170413115328.GH6734@linux-x5ow.site> <20170413121134.GA32362@ming.t460p> <20170413122010.GJ6734@linux-x5ow.site> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170413122010.GJ6734@linux-x5ow.site> User-Agent: Mutt/1.8.0 (2017-02-23) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 13 Apr 2017 13:45:10 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 13, 2017 at 02:20:10PM +0200, Johannes Thumshirn wrote: > On Thu, Apr 13, 2017 at 08:11:40PM +0800, Ming Lei wrote: > > Ok, could you apply the attached debug patch and collect the > > ftrace log? (ftrace_dump_on_oops need to be passed to kernel cmd line). > Thanks Johannes very much for collecting the log. The root cause should be the following: - if 'offset' of one segment isn't zero, we can't make that segment at full size, otherwise the segment ends in the unaligned virt boundary. Give me a while, I will figure out one patch to address the issue. Thanks, Ming