Skip to contentSkip to conversation

Does md work in 2.6 yet?

DISCUSSION [email protected] 2 participants 2 messages Sep 9, 2003 – Sep 12, 2003 MD RAID

lore
Share & tools
lore
#0 lore raw

A while ago (2.5.46 or so), I tried using the 2.6 kernel and discovered that if you have large stripe sizes, it will send a single bio for more than 256 sectors to the IDE driver, which complains and doesn't do the I/O.

File system corruption follows shortly thereafter. Ouch.

The obvious fix was just to propagate the minimum of the underlying devices' maximum bio size to the md driver, but the general solution had to cope with hot adds, which might include a new device with a smaller bio size limit, and was difficult.

Has anyone managed a fix yet? I've been a bit scared to try, although read-only should be safe enough.

Thanks!

#1 lore raw
Quoted 7 lines · On September 9, [email protected] wrote:

A while ago (2.5.46 or so), I tried using the 2.6 kernel and discovered that if you have large stripe sizes, it will send a single bio for more than 256 sectors to the IDE driver, which complains and doesn't do the I/O.

File system corruption follows shortly thereafter. Ouch.

Quoted 7 lines

The obvious fix was just to propagate the minimum of the underlying devices' maximum bio size to the md driver, but the general solution had to cope with hot adds, which might include a new device with a smaller bio size limit, and was difficult.

Has anyone managed a fix yet? I've been a bit scared to try, although read-only should be safe enough.

Yes, I think this is fixed now.

Success reports are always welcome.

NeilBrown