Re: RAID5 sector exists (2.1.10x)

Gadi Oxman (gadio@netvision.net.il)
Tue, 21 Jul 1998 20:23:47 +0400 (IDT)


On Tue, 21 Jul 1998, Mike Black wrote:

> This is REAL consistent -- every one or two days now I'm getting the EXACT
> same set of error messages on my RAID5 setup. The sector numbers match (the
> bh and bh_new are different each time). The most recent is on 2.1.109 (has
> happened on every kernel for a while). This doesn't appear to cause any
> problems...chkraid and e2fsck always check out OK. Any ideas?

The RAID-5 code displays those messages when it receives a read or
write request for a sector on which an on-going request is in the
process of being serviced.

Older versions of the RAID-5 code used to "forget" about the first
request, which resulted in processes which were locked in the 'D'
state, waiting on those requests.

Current versions wait for the completion of the first request and
then issue the second, so that getting those messages under current
2.1.x kernels is no longer as dangerous as it is on 2.0.x or earlier
2.1.x kernels.

Still, we are displaying those messages since receiving two requests
for the same disk sector simultaneously is unhealthy and might point
to a problem somewhere.

Gadi

> Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5]
> read_ahead 128 sectors
> md0 : active raid5 sdd1 sde1 sdf1 4192000 blocks level 5, 32k chunk,
> algorithm 2 [3/3] [UUU]
>
>
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[1], sector
> 2400748 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8c20, bh_new c05d88c0
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[2], sector
> 2400750 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8e00, bh_new c05d8500
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[2], sector
> 2400758 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d80e0, bh_new c05d8f20
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[1], sector
> 2400798 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8080, bh_new c05d8c80
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[2], sector
> 2400710 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d83e0, bh_new c05d88c0
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[2], sector
> 2400742 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d89e0, bh_new c05d8080
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[2], sector
> 2400734 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8080, bh_new c05d8b00
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[1], sector
> 2400766 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8b00, bh_new c05d8e00
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[2], sector
> 2400726 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8e00, bh_new c05d81a0
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[1], sector
> 2400756 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d81a0, bh_new c05d83e0
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[0], sector
> 2400782 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d88c0, bh_new c05d8320
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[0], sector
> 2400774 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8920, bh_new c05d89e0
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[2], sector
> 2400718 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d89e0, bh_new c05d8f20
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[0], sector
> 2400830 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8320, bh_new c05d8c80
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[1], sector
> 2400790 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8c80, bh_new c05d87a0
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[2], sector
> 2400766 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8ec0, bh_new c05d81a0
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[0], sector
> 2400798 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8320, bh_new c05d8e00
> >Jul 20 11:54:00 medusa kernel: raid5: bug: stripe->bh_new[0], sector
> 2400790 exists
> >Jul 20 11:54:00 medusa kernel: raid5: bh c05d8ec0, bh_new c05d80e0
> >
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html