diff options
| author | Shaohua Li <[email protected]> | 2015-09-18 17:20:13 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2015-10-02 07:23:43 +0000 |
| commit | ebda780bce8d58ec0abab157397c9e099c41a05f (patch) | |
| tree | bb3995ca492ded73273329f69791cf814b5dfdbe /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | md: wait for pending superblock updates before switching to read-only (diff) | |
| download | kernel-ebda780bce8d58ec0abab157397c9e099c41a05f.tar.gz kernel-ebda780bce8d58ec0abab157397c9e099c41a05f.zip | |
raid5: update analysis state for failed stripe
handle_failed_stripe() makes the stripe fail, eg, all IO will return
with a failure, but it doesn't update stripe_head_state. Later
handle_stripe() has special handling for raid6 for handle_stripe_fill().
That check before handle_stripe_fill() doesn't skip the failed stripe
and we get a kernel crash in need_this_block. This patch clear the
analysis state to make sure no functions wrongly called after
handle_failed_stripe()
Signed-off-by: Shaohua Li <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
