Skip to content

Fix some trival bugs.

majianpeng linux-raid 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 5 patches 6 repliesApplied

3 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
3/5md: Increase the frequency of recording checkpoint of recovery.drivers/md/md.c+1 -13 replies
4/5md: Return proper error rather than EIO.drivers/md/raid1.c drivers/md/raid5.c+4 -42 replies
5/5md/raid5: Using conf->max_degraded rather than 2 to determine whether there is excess compute-disks for raid4/5/6.drivers/md/raid5.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Fix some trival bugs.

Hi Neil,
This patchs fix some trival bugs for md drives.
Patch1-2 is about resync action.
Patch3 is about increase the frequency of recording checkpoint of recovery.Some times ago, I wrote a patch about this.But you rejected it and suggested used "echo idle > sync_action" to get the same result.I modified the patch and I hope you can accept it.
Patch4 is about using EINVAL rather than EIO in some functions.
Patch5 is modify the parameter to determine whether there is excess compute-disks for raid4/5/6.

Jianpeng Ma (5):
md: When resync aborted,using ->curr_resync as the last completed

    request rather than ->curr_resync_completed.

md:Add place to update ->recovery_cp.
md: Increase the frequency of recording checkpoint of recovery.
md: Return proper error rather than EIO.
md/raid5: Using conf->max_degraded rather than 2 to determine whether there is
excess compute-disks for raid4/5/6.

 drivers/md/md.c    |    7 ++++---
 drivers/md/raid1.c |    4 ++--
 drivers/md/raid5.c |    6 +++---
 3 files changed, 9 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.9.5