[PATCH RFC 0/7] block: fix disordered IO in the case recursive split

Yu Kuai posted 7 patches 1 month, 1 week ago
There is a newer version of this series
block/blk-core.c       | 54 ++++++++++++++++++++++++-------------
block/blk-merge.c      | 60 +++++++++++++++++++++++++++---------------
block/blk-throttle.c   |  2 +-
block/blk.h            |  3 ++-
drivers/md/md-linear.c | 14 +++-------
drivers/md/raid0.c     | 20 ++++++--------
drivers/md/raid1.c     | 35 ++++++++++--------------
drivers/md/raid10.c    | 53 ++++++++++++++++---------------------
drivers/md/raid10.h    |  1 +
drivers/md/raid5.c     | 12 +++++----
include/linux/bio.h    |  2 ++
11 files changed, 135 insertions(+), 121 deletions(-)
[PATCH RFC 0/7] block: fix disordered IO in the case recursive split
Posted by Yu Kuai 1 month, 1 week ago
From: Yu Kuai <yukuai3@huawei.com>

patch 1 export a bio split helper;
patch 2-6 unfiy bio split code from mdraid to use the helper;
patch 7 convert the helper to insert split bio to the head of current
bio_list

This set is just test for raid5 for now, see details in patch 7;

Yu Kuai (7):
  block: export helper bio_submit_split()
  md/raid0: convert raid0_handle_discard() to use bio_submit_split()
  md/raid1: convert to use bio_submit_split()
  md/raid10: convert read/write to use bio_submit_split()
  md/raid5: convert to use bio_submit_split()
  md/md-linear: convert to use bio_submit_split()
  block: fix disordered IO in the case recursive split

 block/blk-core.c       | 54 ++++++++++++++++++++++++-------------
 block/blk-merge.c      | 60 +++++++++++++++++++++++++++---------------
 block/blk-throttle.c   |  2 +-
 block/blk.h            |  3 ++-
 drivers/md/md-linear.c | 14 +++-------
 drivers/md/raid0.c     | 20 ++++++--------
 drivers/md/raid1.c     | 35 ++++++++++--------------
 drivers/md/raid10.c    | 53 ++++++++++++++++---------------------
 drivers/md/raid10.h    |  1 +
 drivers/md/raid5.c     | 12 +++++----
 include/linux/bio.h    |  2 ++
 11 files changed, 135 insertions(+), 121 deletions(-)

-- 
2.39.2