Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751220AbbLTXtv (ORCPT ); Sun, 20 Dec 2015 18:49:51 -0500 Received: from smtprelay0007.b.hostedemail.com ([64.98.42.7]:51798 "EHLO smtprelay.b.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750984AbbLTXts (ORCPT ); Sun, 20 Dec 2015 18:49:48 -0500 X-Session-Marker: 742E617274656D406C79636F732E636F6D X-Spam-Summary: 30,2,0,,d41d8cd98f00b204,t.artem@lycos.com,:::::::::::::::::::,RULES_HIT:41:46:150:153:355:379:421:582:599:967:968:973:988:989:1152:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2560:2563:2682:2685:2691:2859:2901:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3354:3865:3866:3867:3868:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:5007:6117:6119:6261:7903:8660:9025:10004:10400:10450:10455:10848:11026:11232:11658:11914:12043:12114:12517:12519:12555:12663:12698:12737:12740:12926:13069:13148:13230:13255:13311:13357:14096:14097:14659:19904:19999:21080:30012:30054:30060:30064:30070:30083:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: body60_384f31e82a809 X-Filterd-Recvd-Size: 3255 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 21 Dec 2015 04:49:46 +0500 From: "Artem S. Tashkinov" To: Kent Overstreet Cc: Christoph Hellwig , Linus Torvalds , Ming Lin , Jens Axboe , "Artem S. Tashkinov" , Steven Whitehouse , Tejun Heo , IDE-ML , Linux Kernel Mailing List Subject: Re: IO errors after "block: remove =?UTF-8?Q?bio=5Fget=5Fnr=5Fvec?= =?UTF-8?Q?s=28=29=22?= In-Reply-To: <20151220234235.GA20661@kmo-pixel> References: <20151220181801.GA12402@lst.de> <37aeccfa37bb49823a62ae24be554a5a@lycos.com> <20151220234235.GA20661@kmo-pixel> Message-ID: <524c6867be3fcf2e19d071599d4722cc@lycos.com> User-Agent: Roundcube Webmail/1.0.2 X-Originating-IP: [5.166.173.43] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2127 Lines: 54 On 2015-12-21 04:42, Kent Overstreet wrote: > On Mon, Dec 21, 2015 at 04:25:12AM +0500, Artem S. Tashkinov wrote: >> On 2015-12-20 23:18, Christoph Hellwig wrote: >> >On Sun, Dec 20, 2015 at 09:51:14AM -0800, Linus Torvalds wrote: >> >>Kent, Jens, Christoph et al, >> >> please see this bugzilla: >> >> >> >> https://bugzilla.kernel.org/show_bug.cgi?id=109661 >> >> >> >>where Artem Tashkinov bisected his problems with 4.3 down to commit >> >>b54ffb73cadc ("block: remove bio_get_nr_vecs()") that you've all >> >>signed off on. >> > >> >Artem, >> > >> >can you re-check the commits around this series again? I would be >> >extremtly surprised if it's really this particular commit and not >> >one just before it causing the problem - it just allocates bios >> >to the biggest possible instead of only allocating up to what >> >bio_add_page would accept. >> >> I'm positive about this particular commit. Of course, it might be >> another >> GCC 4.7.4 miscompilation which causes the errors which shouldn't be >> there >> but >> I'm not an expert, so. > > I believe you on the commit, and I doubt this has anything to do with > gcc - the > errors you're getting are exactly what you normally get when you send > the device > an sglist to dma to/from that it doesn't like. > > The queue limits stuff is annoyingly fragile, you'd think we'd be able > to check > directly in the driver that the stuff we're sending the device is sane > but we > don't. > > If I came up with a debug patch could you try it out? I don't have any > ideas for > one yet, but if someone who knows the ATA code doesn't jump in I'll > call up > Tejun and make him walk me through it. No problem, I just hope that this particular access mode (and you debug patch) won't decrease the lifespan of my HDD. Seagate HDDs have been very fragile (read atrociously unreliable) for the past five years. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/