public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.24-dj1,smp,ext2,raid0: I got random zero blocks in my files.
@ 2002-07-01  7:59 Helge Hafting
  2002-07-01  8:18 ` Andrew Morton
  2002-07-04  0:34 ` Neil Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Helge Hafting @ 2002-07-01  7:59 UTC (permalink / raw)
  To: linux-kernel, neilb, davej

2.5.24-dj1 gave me files with zeroed blocks inside.
What I did:  I untarred the source for lyx 1.2.0
and tried to compile it, several times.

gcc and make choked on occational blocks of zeroes
inside files, different places each time.
Going back to 2.5.18 fixed it.

This isn't all that surprising considering that
the raid driver logs complaints about requests
bigger than 32k, which is the stripe size.
I believed this worked by retrying with much smaller
requests, perhaps I am wrong?

The filesystems use 4k blocks.
I haven't seen any trouble on non-raid or raid-1
partitions.

Helge Hafting

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5.24-dj1,smp,ext2,raid0: I got random zero blocks in my files.
  2002-07-01  7:59 2.5.24-dj1,smp,ext2,raid0: I got random zero blocks in my files Helge Hafting
@ 2002-07-01  8:18 ` Andrew Morton
  2002-07-04  0:34 ` Neil Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2002-07-01  8:18 UTC (permalink / raw)
  To: Helge Hafting; +Cc: linux-kernel, neilb, davej

Helge Hafting wrote:
> 
> 2.5.24-dj1 gave me files with zeroed blocks inside.
> What I did:  I untarred the source for lyx 1.2.0
> and tried to compile it, several times.
> 
> gcc and make choked on occational blocks of zeroes
> inside files, different places each time.
> Going back to 2.5.18 fixed it.
> 
> This isn't all that surprising considering that
> the raid driver logs complaints about requests
> bigger than 32k, which is the stripe size.
> I believed this worked by retrying with much smaller
> requests, perhaps I am wrong?
> 
> The filesystems use 4k blocks.
> I haven't seen any trouble on non-raid or raid-1
> partitions.

Yes, the large BIO stuff went into 2.5.19.  RAID0 doesn't
like those big BIOs.  Jens is cooking up a fix for that.

Just to confirm that this is the problem, could you please
set MPAGE_BIO_MAX_SIZE in 32768 in fs/mpage.c and see if the
failure goes away?

-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5.24-dj1,smp,ext2,raid0: I got random zero blocks in my files.
  2002-07-01  7:59 2.5.24-dj1,smp,ext2,raid0: I got random zero blocks in my files Helge Hafting
  2002-07-01  8:18 ` Andrew Morton
@ 2002-07-04  0:34 ` Neil Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Brown @ 2002-07-04  0:34 UTC (permalink / raw)
  To: Helge Hafting; +Cc: linux-kernel, davej

On Monday July 1, helgehaf@aitel.hist.no wrote:
> 2.5.24-dj1 gave me files with zeroed blocks inside.
> What I did:  I untarred the source for lyx 1.2.0
> and tried to compile it, several times.
> 
> gcc and make choked on occational blocks of zeroes
> inside files, different places each time.
> Going back to 2.5.18 fixed it.
> 
> This isn't all that surprising considering that
> the raid driver logs complaints about requests
> bigger than 32k, which is the stripe size.
> I believed this worked by retrying with much smaller
> requests, perhaps I am wrong?

You are wrong. It doesn't re-try.  It just fails.
raid0 does not work in 2.5 yet.  Don't even both trying.

NeilBrown

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-04  0:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-01  7:59 2.5.24-dj1,smp,ext2,raid0: I got random zero blocks in my files Helge Hafting
2002-07-01  8:18 ` Andrew Morton
2002-07-04  0:34 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox