mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Victor Meyerson <calculuspenguin@yahoo.com>
To: Hillf Danton <dhillf@gmail.com>
Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
	Ralf Baechle <ralf@linux-mips.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: Direct I/O bug in kernel
Date: Thu, 9 Aug 2012 13:53:14 -0700 (PDT)	[thread overview]
Message-ID: <1344545594.25895.YahooMailNeo@web120102.mail.ne1.yahoo.com> (raw)
In-Reply-To: <CAJd=RBCy+zy6jRWkpjPx43H=jqs37-L8Qij4Z5y9DYak2L643w@mail.gmail.com>

----- 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


  reply	other threads:[~2012-08-09 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1342922751.65328.YahooMailNeo@web120106.mail.ne1.yahoo.com>
2012-07-24 13:04 ` Hillf Danton
2012-07-24 17:28   ` Victor Meyerson
2012-07-27 14:47     ` Hillf Danton
2012-08-09 20:53       ` Victor Meyerson [this message]
2012-08-10 12:18         ` Hillf Danton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1344545594.25895.YahooMailNeo@web120102.mail.ne1.yahoo.com \
    --to=calculuspenguin@yahoo.com \
    --cc=dhillf@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®