Thread (8 messages) 8 messages, 3 authors, 2020-08-18
STALE2231d

Revision v1 of 3 in this series.

Revisions (3)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]

[PATCH 0/4] block: improve iostat for md/bcache partitions

From: Song Liu <hidden>
Date: 2020-08-18 07:03:21
Also in: linux-bcache, linux-block

Currently, devices like md, bcache uses disk_[start|end]_io_acct to report
iostat. These functions couldn't get proper iostat for partitions on these
devices.

This set resolves this issue by introducing part_[begin|end]_io_acct, and
using them in md and bcache code.

Song Liu (4):
  block: expose disk_map_sector_rcu() and hd_struct_put in genhd.h
  block: introduce part_[begin|end]_io_acct
  md: use part_[begin|end]_io_acct instead of disk_[begin|end]_io_acct
  bcache: use part_[begin|end]_io_acct instead of
    disk_[begin|end]_io_acct

 block/blk-core.c            | 20 ++++++++++++++++----
 block/blk.h                 |  8 --------
 block/genhd.c               |  1 +
 drivers/md/bcache/request.c | 14 ++++++++++----
 drivers/md/md.c             |  8 ++++++--
 include/linux/blkdev.h      |  5 +++++
 include/linux/genhd.h       |  8 ++++++++
 7 files changed, 46 insertions(+), 18 deletions(-)

--
2.24.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help