Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751519AbbLUDg4 (ORCPT ); Sun, 20 Dec 2015 22:36:56 -0500 Received: from smtprelay0003.b.hostedemail.com ([64.98.42.3]:56870 "EHLO smtprelay.b.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751199AbbLUDgy (ORCPT ); Sun, 20 Dec 2015 22:36:54 -0500 X-Session-Marker: 742E617274656D406C79636F732E636F6D X-Spam-Summary: 30,2,0,,d41d8cd98f00b204,t.artem@lycos.com,:::::::::::::::::::::::,RULES_HIT:41:46:150:153:355:379:582:599: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:2553:2559:2562:3138:3139:3140:3141:3142:3353:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:4321:5007:6119:6261:6742:7903:10004:10400:10848:11026:11232:11473:11658:11914:12043:12114:12438:12517:12519:12555:12663:12700:12737:12740:13069:13255:13311:13357:14096:14097:14659:21080:30054:30060:30064: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:1,LUA_SUMMARY:none X-HE-Tag: coil68_188753543b3d X-Filterd-Recvd-Size: 2985 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 21 Dec 2015 08:36:50 +0500 From: "Artem S. Tashkinov" To: Ming Lei Cc: Kent Overstreet , Linus Torvalds , Christoph Hellwig , Ming Lin , Jens Axboe , "Artem S. Tashkinov" , Steven Whitehouse , Tejun Heo , IDE-ML , Linux Kernel Mailing List , "Martin K. Petersen" Subject: Re: IO errors after "block: remove =?UTF-8?Q?bio=5Fget=5Fnr=5Fvec?= =?UTF-8?Q?s=28=29=22?= In-Reply-To: References: <20aa515947cdc15799f520f904ad99a2@lycos.com> <20151221023237.GB20661@kmo-pixel> Message-ID: <4d744f3cc62211dc2fcbfcf88566e3e0@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: 1632 Lines: 48 On 2015-12-21 08:21, Ming Lei wrote: > On Mon, Dec 21, 2015 at 10:25 AM, Artem S. Tashkinov wrote: >> # cat >> /sys/block/sda/queue/{max_hw_sectors_kb,max_sectors_kb,max_segments,max_segment_size} >> 32767 >> 32767 >> 168 >> 65536 > > Looks it is fine, then maybe it is related with > BIOVEC_PHYS_MERGEABLE(), > BIOVEC_SEG_BOUNDARY() or sort of thing, because dma_addr_t and > phys_addr_t turn to 64-bit with PAE, but 'unsigned long' and 'void *' > is still 32bit. > > It was confirmed that there isn't the issue if PAE is disabled. > > Dumping both sata/ahci hw sg table and bio's bvec might be helpful. Um, sorry, what exact variables/files do you want to see? I'm not an expert in /sys. > > On Mon, Dec 21, 2015 at 10:32 AM, Kent Overstreet wrote: >> >> oy vey. WTF's been happening in blk-merge.c? >> >> Theyy're not the same bug. The bug in your thread was introduced by >> Jens in >> 5014c311ba "block: fix bogus compiler warnings in blk-merge.c", where >> he screwed >> up the bvprv handling - but that patch comes after the patch Artem >> bisected to. >> >> blk_bio_segment_split() looks correct in b54ffb73ca. > > Yes, that is why reverting 578270bfb(block: fix segment split) can make > the > issue disappear, because 5014c311ba "block: fix bogus compiler > warnings in blk-merge.c" basically disables sg-merge and prevents the > issue from being > triggered. -- 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/