lkml.org 
[lkml]   [2019]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] raid1-10 and raid0 cleanups
Date
The first patch is just removing some code duplicated in raid1 and raid10, and
the other three patches are just cleanups.

These patches were based in "drivers: md: Unify common definitions of raid1 and
raid10", sent a few weeks ago. Let me know if these patches can be improved.

Thanks

Marcos Paulo de Souza (5):
md cleanup
raid1-10: Unify r{1,10}bio_pool_free
raid0: Remove return statement from void function
md: raid0: Return md_integrity_register result directly
md: raid0: Make ret local in raid0_run

drivers/md/raid0.c | 8 ++------
drivers/md/raid1-10.c | 30 ++++++++++++++++++++++++++++++
drivers/md/raid1.c | 42 ++++++------------------------------------
drivers/md/raid10.c | 38 ++++----------------------------------
4 files changed, 42 insertions(+), 76 deletions(-)

--
2.21.0

\
 
 \ /
  Last update: 2019-05-20 23:44    [W:0.065 / U:5.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site