Skip to contentSkip to conversation

Re: [Fwd: Re: 2.5.24-dj1,smp,ext2,raid0: I got random zero blocks in my files.]

Fwd: Re: 2.5.24-dj1,smp,ext2,raid0: I got random zero blocks in my files. Helge Hafting 2 participants 2 messages Jul 1, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 13 lines · Helge Hafting

-------- Original Message --------
Subject: Re: 2.5.24-dj1,smp,ext2,raid0: I got random zero blocks in my files.
Date: Mon, 01 Jul 2002 01:18:20 -0700
From: Andrew Morton <[email protected]>
To: Helge Hafting <[email protected]>
CC: [email protected], [email protected],[email protected]
References: <[email protected]>

Quoted 2 lines · Helge Hafting

2.5.24-dj1 gave me files with zeroed blocks inside.

[...]

Quoted 10 lines
Quoted 3 lines

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?

I tried that, and it didn't help. Could this be as simple as non-aligned 32k requests? A size limit might not be enough if the request starts in the middle of one stripe extending into the next?

I got lots of these,
monster kernel: raid0_make_request bug: can't convert block across chunks or bigger than 32k 2944376 32

and untarred files with strings of zeroes in them. One file had several sets of zeroes.

Helge Hafting

#2 lore raw
Quoted 6 lines · Helge Hafting

..
I got lots of these,
monster kernel: raid0_make_request bug: can't convert block across chunks or bigger than 32k 2944376 32

You may have to drop back to 4k in that case.

-