All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix some trival bugs.
@ 2012-10-27  2:28 majianpeng
  0 siblings, 0 replies; only message in thread
From: majianpeng @ 2012-10-27  2:28 UTC (permalink / raw)
  To: NeilBrown; +Cc: linux-raid

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(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-27  2:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-27  2:28 [PATCH 0/5] Fix some trival bugs majianpeng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.