From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kent Overstreet Subject: Re: IO errors after "block: remove bio_get_nr_vecs()" Date: Mon, 21 Dec 2015 18:59:44 -0900 Message-ID: <20151222035944.GG20661@kmo-pixel> References: <20151221065528.GA3873@htj.duckdns.org> <20151221193550.GM4026@mtj.duckdns.org> <20151221200721.GN4026@mtj.duckdns.org> <20151221210811.GO4026@mtj.duckdns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pf0-f174.google.com ([209.85.192.174]:35491 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752196AbbLVD7t (ORCPT ); Mon, 21 Dec 2015 22:59:49 -0500 Content-Disposition: inline In-Reply-To: <20151221210811.GO4026@mtj.duckdns.org> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: "Artem S. Tashkinov" , "Artem S. Tashkinov" , Christoph Hellwig , Ming Lin , Jens Axboe , Linus Torvalds , Steven Whitehouse , IDE-ML , Linux Kernel Mailing List , Ming Lei On Mon, Dec 21, 2015 at 04:08:11PM -0500, Tejun Heo wrote: reproduced it with 32 bit pae: > 1. Exclude memory above 4G line with boot param "max_addr=4G". doesn't work - max_addr=1G doesn't work either > 2. Disable highmem with "highmem=0". works! > 3. Try booting 64bit kernel. works Ok, so maybe it actually is PAE specific... but like you noted the block layer works entirely in terms of pages so... The one idea I can think of is - maybe BIOVEC_PHYS_MERGEABLE() is broken in PAE mode? I am unfamiliar with anything PAE though. Where does the ahci code consume the sglist?