[PATCH V3 0/6] md: io stats accounting

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

 



V3 changes:

1. For raid0 and raid5, move clone bio into personality layers.
2. add two patches for raid5 to avoid copy chunk read bio twice.

V2 changes:

1. add accounting_bio to md_personality.
2. cleanup in case bioset_integrity_create fails.
3. use bio_end_io_acct.
4. remove patch for enable io accounting for multipath.
5. add one patch to rename print_msg.
6. add one patch to deprecate linear, multipath and faulty.

Guoqing Jiang (8):
  md: revert io stats accounting
  md: add io accounting for raid0 and raid5
  md/raid5: move checking badblock before clone bio in
    raid5_read_one_chunk
  md/raid5: avoid redundant bio clone in raid5_read_one_chunk
  md/raid1: rename print_msg with r1bio_existed
  md/raid1: enable io accounting
  md/raid10: enable io accounting
  md: mark some personalities as deprecated

 drivers/md/Kconfig        |  6 +--
 drivers/md/md-faulty.c    |  2 +-
 drivers/md/md-linear.c    |  2 +-
 drivers/md/md-multipath.c |  2 +-
 drivers/md/md.c           | 89 +++++++++++++++++++--------------------
 drivers/md/md.h           |  9 +++-
 drivers/md/raid0.c        |  3 ++
 drivers/md/raid1.c        | 15 +++++--
 drivers/md/raid1.h        |  1 +
 drivers/md/raid10.c       |  6 +++
 drivers/md/raid10.h       |  1 +
 drivers/md/raid5.c        | 34 +++++++++------
 12 files changed, 101 insertions(+), 69 deletions(-)

-- 
2.25.1




[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