Linux RAID subsystem development
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Reorganize raid*_make_request to clean up code
@ 2016-12-05 20:02 Robert LeBlanc
  2016-12-05 20:02 ` [PATCH v3 1/2] md/raid1: Refactor raid1_make_request Robert LeBlanc
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Robert LeBlanc @ 2016-12-05 20:02 UTC (permalink / raw)
  To: linux-raid; +Cc: Robert LeBlanc

In response to Christoph, I've broken the read and writes into their own
functions to make the code even cleaner. Since it is such a big change, I broke
up the commits into this series instead of creating a v2 of the previous patch.

Changes since v2:
 Shaohua Li
 * Make md_write_start before wait_barrier
 * Move I/O in recovery stripe test to write path
 * Changed to if/then instead of return in __make_request

Changes since v1:
 
 John Stoffel
 * Changed to if/then instead of return in raid1_make_request

 Neil Brown
 * Moved wait_barrier into raid1_{read,write}_request so that it could be after
   ->suspend_{hi,lo}. This prevents a write blocking a resync until the suspend
   region is moved.

Robert LeBlanc (2):
  md/raid1: Refactor raid1_make_request
  md/raid10: Refactor raid10_make_request

 drivers/md/raid1.c  | 259 +++++++++++++++++++++++++++-------------------------
 drivers/md/raid10.c | 215 ++++++++++++++++++++++---------------------
 2 files changed, 245 insertions(+), 229 deletions(-)

-- 
2.10.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-16 20:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-05 20:02 [PATCH v3 0/2] Reorganize raid*_make_request to clean up code Robert LeBlanc
2016-12-05 20:02 ` [PATCH v3 1/2] md/raid1: Refactor raid1_make_request Robert LeBlanc
2016-12-05 20:02 ` [PATCH v3 2/2] md/raid10: Refactor raid10_make_request Robert LeBlanc
2016-12-16 19:59   ` Shaohua Li
2016-12-16 20:49     ` Robert LeBlanc
2016-12-05 20:04 ` [PATCH v3 0/2] Reorganize raid*_make_request to clean up code Robert LeBlanc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox