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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Yu Kuai <yukuai3@xxxxxxxxxx>

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





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux