From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752499Ab2HIU63 (ORCPT ); Thu, 9 Aug 2012 16:58:29 -0400 Received: from nm39-vm6.bullet.mail.ne1.yahoo.com ([98.138.229.166]:42176 "HELO nm39-vm6.bullet.mail.ne1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751611Ab2HIU62 convert rfc822-to-8bit (ORCPT ); Thu, 9 Aug 2012 16:58:28 -0400 X-Greylist: delayed 312 seconds by postgrey-1.27 at vger.kernel.org; Thu, 09 Aug 2012 16:58:27 EDT X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 589443.34965.bm@omp1024.mail.ne1.yahoo.com DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4l2ZX0LZva2/d6OskB482quICLrqrfYigEajdxhQ4T7ltOcnfbnluvu+IF9TATbeBft4wzjWWU8lTWqyI1Ss6DGiQ9u9Uwer+6r1ao6vGfUkBIBq0n3NBMWaLMgmcACHGO8wpRSa2470GkqaHjbPbZE+Hzb/b/rb3l8anufjyx0=; X-YMail-OSG: 6Ff5.YoVM1lLo0Hzp7pPwnUfNwzk.TkQ3C4OPQHG_loFfWS ZKeGWvoggjL6_zaJE48xvVCxa.YONj9G1jxAcKUj9FN2g3_Gpmgid1K33ugQ pMt5qxSdyAhbCr2x.66RYiDMNCjPJx8BriJohaqBxO6n9017m2dBBcA9lQ6q UMws1UBhYqiKdsTeZWqMgs3X7ihLNBIoMRB7l5jVjbOyNd4hNDMH.HUZ9nfb YQcGdQiaLUsdLBufJTml10K.Ewb81ASH6hTx8_VsHGI0kg7bJqZooIKnM.1x iltL2cdjG2libBpVx6B3KyEMm0lkppl4YHBnlPy.pHCcQVR2N1gt9JLpUir7 iQBzwE1WHSxM2Bni8A_BCNrdrNKqaKm_38gp15ROFHCbxXYeP3_YTqv9jTyj q6T1L8zHYwWyEyDSkrHwqeki8qqJ9P1F9_2jylK8pJYa4ZsbLWAGG2xNojyq 4ShBrqQPM5p0nyZ1Pa1TGU1n._xvYXNfh8_MIT5H4XdbB3F8ocjLcFmHeKM3 T.EEn12.IPmPn1lAzyi_aA_G8D0vomOWyVccbD4bwjH0e52ZjbNsDcKWzlMU nBJA- X-Mailer: YahooMailWebService/0.8.120.356233 References: <1342922751.65328.YahooMailNeo@web120106.mail.ne1.yahoo.com> <1343150934.42443.YahooMailNeo@web120104.mail.ne1.yahoo.com> Message-ID: <1344545594.25895.YahooMailNeo@web120102.mail.ne1.yahoo.com> Date: Thu, 9 Aug 2012 13:53:14 -0700 (PDT) From: Victor Meyerson Reply-To: Victor Meyerson Subject: Re: Direct I/O bug in kernel To: Hillf Danton Cc: "linux-mips@linux-mips.org" , Ralf Baechle , LKML In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Original Message ----- > From: Hillf Danton > To: Victor Meyerson > Cc: "linux-mips@linux-mips.org" ; Ralf Baechle ; LKML > Sent: Friday, July 27, 2012 7:47 AM > Subject: Re: Direct I/O bug in kernel > > On Wed, Jul 25, 2012 at 1:28 AM, Victor Meyerson > wrote: >> >> Still different checksums and I used the same random-file from my first > test. >> > Then try the fix at >             https://lkml.org/lkml/2012/7/27/54 > I tried that patch, although I had to edit a slightly different line as dio_bio_alloc was near line 392 instead of 349 in the version of fs/direct-io.c in my tree.  I still got different checksums between the two files and even different checksums from my earlier attempts. I am not sure if this helps, but Ralf asked if I can try a different page size to see if this problem occurs.  I originally had CONFIG_PAGE_SIZE_4KB=y and changed it to CONFIG_PAGE_SIZE_16KB=y (via menuconfig).  Having a page size of 16KB (and the above patch not applied) made the checksum on the files match each other and match the file made from the working kernel. Victor