diff options
| author | ChangSyun Peng <[email protected]> | 2020-07-31 09:50:31 +0000 |
|---|---|---|
| committer | Song Liu <[email protected]> | 2020-08-03 06:54:31 +0000 |
| commit | 45a4d8fd6c7926e7991a1b29233d725fe12935da (patch) | |
| tree | 412d26f3b5d9f5958a3678c77b07a7efc96ca619 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | md/raid5: Fix Force reconstruct-write io stuck in degraded raid5 (diff) | |
| download | kernel-45a4d8fd6c7926e7991a1b29233d725fe12935da.tar.gz kernel-45a4d8fd6c7926e7991a1b29233d725fe12935da.zip | |
md/raid5: Allow degraded raid6 to do rmw
Degraded raid6 always do reconstruct-write now. With raid6 xor supported,
we can do rmw in degraded raid6. This patch can reduce many read IOs to
improve performance.
If the failed disk is P, Q or the disk we want to write to, we may need to
do reconstruct-write in max degraded raid6. In this situation we can not
read enough data from handle_stripe_dirtying() so we have to set force_rcw
in handle_stripe_fill() to read all data.
Reviewed-by: Alex Wu <[email protected]>
Reviewed-by: BingJing Chang <[email protected]>
Reviewed-by: Danny Shih <[email protected]>
Signed-off-by: ChangSyun Peng <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
