| To: | Hillf Danton <dhillf@gmail.com> |
|---|---|
| Subject: | Re: Direct I/O bug in kernel |
| From: | Victor Meyerson <calculuspenguin@yahoo.com> |
| Date: | Thu, 9 Aug 2012 13:53:14 -0700 (PDT) |
| Cc: | "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>, LKML <linux-kernel@vger.kernel.org> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1344545594; bh=Q2LT4jNAVGyjUu607cWwWq6MeQED+Shi4TsqGntFB+I=; 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=rATsRjnI4en1DLPRHBtEUYHVcRrUVZ69UmG7pHcXMPFXPBhaQ7YPpCAzjM8L+bbWVhBjYNF+nkdS/KTjKJqqv4IWSfyfgW8XBKBFPb7SXuqOLE4ZJR/qgIZTekCa7QZrGEx5vl5UY2VfjwD5VxuowyeKMH3pjiBo6cnffFD7P2Q= |
| 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=; |
| In-reply-to: | <CAJd=RBCy+zy6jRWkpjPx43H=jqs37-L8Qij4Z5y9DYak2L643w@mail.gmail.com> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1342922751.65328.YahooMailNeo@web120106.mail.ne1.yahoo.com> <CAJd=RBC24UXztNoKews5sE06DRvk_cBEYunHT7Zc-rdvAFF0ew@mail.gmail.com> <1343150934.42443.YahooMailNeo@web120104.mail.ne1.yahoo.com> <CAJd=RBCy+zy6jRWkpjPx43H=jqs37-L8Qij4Z5y9DYak2L643w@mail.gmail.com> |
| Reply-to: | Victor Meyerson <calculuspenguin@yahoo.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
----- Original Message ----- > From: Hillf Danton <dhillf@gmail.com> > To: Victor Meyerson <calculuspenguin@yahoo.com> > Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>; Ralf Baechle > <ralf@linux-mips.org>; LKML <linux-kernel@vger.kernel.org> > 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 > <calculuspenguin@yahoo.com> 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Bug-fix] backtrace when HAVE_FUNCTION_TRACER is enable, Akhilesh Kumar |
|---|---|
| Next by Date: | [PATCH] MIPS: init module specific mips_hi16_list to NULL, Tony Wu |
| Previous by Thread: | [PATCH v2 0/6] Avoid cache trashing on clearing huge/gigantic page, Kirill A. Shutemov |
| Next by Thread: | Re: Direct I/O bug in kernel, Hillf Danton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |