commit backport request
Hi Mr Stable,
please apply patch
commit fab363b5ff502d1b39ddcfec04271f5858d9f26e
Author: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000
raid5: delayed stripe fix
to 3.4.y and 3.2.y.
It fixes a deadlock in RAID5 which can cause all IO to hang. It has been demonstrated to fix a real-life problem (the race is not theoretical).
Thanks,
NeilBrown
Quoted 9 lines · NeilBrown
Hi Mr Stable,
please apply patch
commit
fab363b5ff502d1b39ddcfec04271f5858d9f26eAuthor: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000
Quoted 6 lines
raid5: delayed stripe fix
to 3.4.y and 3.2.y.
It fixes a deadlock in RAID5 which can cause all IO to hang.
What about RAID6 as well?
Quoted 5 lines
It has been demonstrated to fix a real-life problem (the race is not theoretical).
Thanks,
NeilBrown
--
Quoted 10 lines · On Mon, 9 Jul 2012 13:08:44 +0800 Igor M Podlesny <[email protected]>…
Quoted 9 lines · NeilBrown
Hi Mr Stable,
please apply patch
commit
fab363b5ff502d1b39ddcfec04271f5858d9f26eAuthor: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000
Quoted 9 lines
Quoted 6 lines
raid5: delayed stripe fix
to 3.4.y and 3.2.y.
It fixes a deadlock in RAID5 which can cause all IO to hang.
What about RAID6 as well?
Yes, RAID4, RAID5, and RAID6.
NeilBrown
Quoted 9 lines · NeilBrown
Hi Mr Stable,
please apply patch
commit
fab363b5ff502d1b39ddcfec04271f5858d9f26eAuthor: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000
Quoted 8 lines
raid5: delayed stripe fix
to 3.4.y and 3.2.y.
It fixes a deadlock in RAID5 which can cause all IO to hang. It has been demonstrated to fix a real-life problem (the race is not theoretical).
Is it also needed for 3.0.x? It seems to apply there just fine.
thanks,
greg k-h
Ben Hutchings
AppliedQuoted 8 lines · NeilBrown
Hi Mr Stable,
please apply patch
commit
fab363b5ff502d1b39ddcfec04271f5858d9f26eAuthor: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000
Quoted 8 lines
raid5: delayed stripe fix
to 3.4.y and 3.2.y.
It fixes a deadlock in RAID5 which can cause all IO to hang. It has been demonstrated to fix a real-life problem (the race is not theoretical).
Queued up for 3.2.y, thanks.
Ben.
Signature · 3 lines
Ben Hutchings
The generation of random numbers is too important to be left to chance.
- Robert CoveyouQuoted 13 lines · On Wed, 11 Jul 2012 15:07:40 -0700 Greg KH <[email protected]> wrote:
Quoted 12 lines · NeilBrown
Hi Mr Stable,
please apply patch
commit
fab363b5ff502d1b39ddcfec04271f5858d9f26eAuthor: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000raid5: delayed stripe fix
Quoted 7 lines
Quoted 5 lines
to 3.4.y and 3.2.y.
It fixes a deadlock in RAID5 which can cause all IO to hang. It has been demonstrated to fix a real-life problem (the race is not theoretical).
Is it also needed for 3.0.x? It seems to apply there just fine.
Yes it is. Don't know why I missed that.
I see you've already included it - thanks.
NeilBrown
Hi,
Is there any indication that can tell I am hitting this particular issue? I think I hit something similar to that once, IOs were hang within a raid5 and not returning. I issues w > sysrq-trigger and also have most of the procfs/<pid> info, so is there something I can look at to confirm?
Quoted 27 lines · NeilBrown
Quoted 13 lines · On Wed, 11 Jul 2012 15:07:40 -0700 Greg KH <[email protected]> wrote:
Quoted 12 lines · NeilBrown
Hi Mr Stable,
please apply patch
commit
fab363b5ff502d1b39ddcfec04271f5858d9f26eAuthor: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000raid5: delayed stripe fix
Quoted 7 lines
Quoted 5 lines
to 3.4.y and 3.2.y.
It fixes a deadlock in RAID5 which can cause all IO to hang. It has been demonstrated to fix a real-life problem (the race is not theoretical).
Is it also needed for 3.0.x? It seems to apply there just fine.
Yes it is. Don't know why I missed that.
I see you've already included it - thanks.NeilBrown
Quoted 6 lines · On Fri, 13 Jul 2012 00:28:00 +0300 Alexander Lyakas <[email protected]>…
Hi,
Is there any indication that can tell I am hitting this particular issue? I think I hit something similar to that once, IOs were hang within a raid5 and not returning. I issues w > sysrq-trigger and also have most of the procfs/<pid> info, so is there something I can look at to confirm?
IO stops, processes get blocked in get_active_stripe(). Increasing stripe_cache_size allows a bit more IO through it eventually all fills up again.
NeilBrown
Quoted 31 lines · NeilBrown
Quoted 27 lines · On Wed, 11 Jul 2012 15:07:40 -0700 Greg KH <[email protected]> wrote:
Quoted 14 lines · NeilBrown
Quoted 12 lines
Hi Mr Stable,
please apply patch
commit
fab363b5ff502d1b39ddcfec04271f5858d9f26eAuthor: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000raid5: delayed stripe fix
Quoted 7 lines
Quoted 5 lines
to 3.4.y and 3.2.y.
It fixes a deadlock in RAID5 which can cause all IO to hang. It has been demonstrated to fix a real-life problem (the race is not theoretical).
Is it also needed for 3.0.x? It seems to apply there just fine.
Yes it is. Don't know why I missed that.
I see you've already included it - thanks.NeilBrown
Thanks.
Not sure if this is the issue I saw. I did not see any thread blocked on get_active_stripe(). In my case "stripe_cache_active" got stuck on a high value and was never decreased. But some IOs (perhaps on other stripes?) managed to go through. In addition, in one case, after several hours(!), somehow the stuck IOs got freed and stripe_cache_active dropped and everything got back to normal.
Alex.
Quoted 48 lines · NeilBrown
Quoted 6 lines · On Fri, 13 Jul 2012 00:28:00 +0300 Alexander Lyakas <[email protected]>…
Hi,
Is there any indication that can tell I am hitting this particular issue? I think I hit something similar to that once, IOs were hang within a raid5 and not returning. I issues w > sysrq-trigger and also have most of the procfs/<pid> info, so is there something I can look at to confirm?IO stops, processes get blocked in
get_active_stripe(). Increasingstripe_cache_sizeallows a bit more IO through it eventually all fills up again.NeilBrown
Quoted 31 lines · NeilBrown
Quoted 27 lines · On Wed, 11 Jul 2012 15:07:40 -0700 Greg KH <[email protected]> wrote:
Quoted 14 lines · NeilBrown
Quoted 12 lines
Hi Mr Stable,
please apply patch
commit
fab363b5ff502d1b39ddcfec04271f5858d9f26eAuthor: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000raid5: delayed stripe fix
Quoted 7 lines
Quoted 5 lines
to 3.4.y and 3.2.y.
It fixes a deadlock in RAID5 which can cause all IO to hang. It has been demonstrated to fix a real-life problem (the race is not theoretical).
Is it also needed for 3.0.x? It seems to apply there just fine.
Yes it is. Don't know why I missed that.
I see you've already included it - thanks.NeilBrown
Quoted 1 line · Ben Hutchings
On Mon, 2012-07-09 at 14:02 +1000, NeilBrown wrote:
[...]
Quoted 3 lines
Queued up for 3.2.y, thanks.
Ben.
Hm, it looks like 3.2.23 misses it — at least my during rebase the
cherry-picked fix applied again cleanly.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · On Tue, 17 Jul 2012 11:26:41 +0800 Igor M Podlesny <[email protected]>…
Quoted 1 line · Ben Hutchings
On Mon, 2012-07-09 at 14:02 +1000, NeilBrown wrote:
[...]
Quoted 3 lines
Queued up for 3.2.y, thanks.
Ben.
Hm, it looks like 3.2.23 misses it — at least my during rebase the
cherry-picked fix applied again cleanly.--
Given that the date on:
commit 8432d2280bd7558fde3a0385d1b35c947197d754
Author: Ben Hutchings <[email protected]> Date: Thu Jul 12 04:32:21 2012 +0100
Linux 3.2.23
is before the date on Ben's email (by a few hours), I suspect it is queued for 3.2.24.
NeilBrown
Quoted 9 lines · Igor M Podlesny
Quoted 1 line · Ben Hutchings
On Mon, 2012-07-09 at 14:02 +1000, NeilBrown wrote:
[...]
Quoted 3 lines
Queued up for 3.2.y, thanks.
Ben.
Hm, it looks like 3.2.23 misses it — at least my during rebase the
cherry-picked fix applied again cleanly.
I queued it up some hours after tagging that release. I *announced* the release later, but that's because uploading tarballs etc. involves a round trip via Greg.
Ben.
Signature · 3 lines
Ben Hutchings Gates has joked that everything goes on and off unexepectedly in the house, which is run by a high-end PC network built on Windows NT. - Seattle Times
Quoted 8 lines · Ben Hutchings
Quoted 7 lines · Igor M Podlesny
Quoted 1 line · Ben Hutchings
On Mon, 2012-07-09 at 14:02 +1000, NeilBrown wrote:
[...]
Quoted 3 lines
Queued up for 3.2.y, thanks.
Ben.
Quoted 8 lines
Quoted 2 lines
Hm, it looks like 3.2.23 misses it — at least my during rebase the
cherry-picked fix applied again cleanly.I queued it up some hours after tagging that release. I *announced* the release later, but that's because uploading tarballs etc. involves a round trip via Greg.
Ben.
JFYI, 3.4.6 doesn't have it either...
commit 1c8f63c2758096c3b6425f4ecb274901151d6f17
Author: Greg Kroah-Hartman <[email protected]> Date: Thu Jul 19 12:11:49 2012 -0700
Linux 3.4.6
--
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 20 lines · On Fri, 20 Jul 2012 10:38:50 +0800 Igor M Podlesny <[email protected]>…
Quoted 8 lines · Ben Hutchings
Quoted 7 lines · Igor M Podlesny
Quoted 1 line · Ben Hutchings
On Mon, 2012-07-09 at 14:02 +1000, NeilBrown wrote:
[...]
Quoted 3 lines
Queued up for 3.2.y, thanks.
Ben.
Quoted 8 lines
Quoted 2 lines
Hm, it looks like 3.2.23 misses it — at least my during rebase the
cherry-picked fix applied again cleanly.I queued it up some hours after tagging that release. I *announced* the release later, but that's because uploading tarballs etc. involves a round trip via Greg.
Ben.
JFYI, 3.4.6 doesn't have it either...
Quoted 7 lines
commit
1c8f63c2758096c3b6425f4ecb274901151d6f17Author: Greg Kroah-Hartman <[email protected]> Date: Thu Jul 19 12:11:49 2012 -0700Linux 3.4.6--
Yes it does.
commit 5bbbd747918d241b41f3220ff26323d7ed943c52
Author: Shaohua Li <[email protected]> Date: Tue Jul 3 15:57:19 2012 +1000
raid5: delayed stripe fix
commit fab363b5ff502d1b39ddcfec04271f5858d9f26e upstream.
NeilBrown
Quoted 2 lines · NeilBrown
On Fri, 20 Jul 2012 10:38:50 +0800 Igor M Podlesny <[email protected]> wrote:
[…]
Quoted 3 lines
Quoted 1 line
JFYI, 3.4.6 doesn't have it either...Yes it does.
Correct, my mistake -- I missed it on its way to 3.4.5, sorry.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html