All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] block: improve iostat for md/bcache partitions
@ 2020-08-18  7:02 Song Liu
  2020-08-18  7:02 ` [PATCH 1/4] block: expose disk_map_sector_rcu() and hd_struct_put in genhd.h Song Liu
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Song Liu @ 2020-08-18  7:02 UTC (permalink / raw)
  To: linux-block, linux-raid, linux-bcache
  Cc: colyli, axboe, kernel-team, song, Song Liu

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

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

end of thread, other threads:[~2020-08-18 19:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18  7:02 [PATCH 0/4] block: improve iostat for md/bcache partitions Song Liu
2020-08-18  7:02 ` [PATCH 1/4] block: expose disk_map_sector_rcu() and hd_struct_put in genhd.h Song Liu
2020-08-18 19:45   ` Christoph Hellwig
2020-08-18  7:02 ` [PATCH 2/4] block: introduce part_[begin|end]_io_acct Song Liu
2020-08-18 19:48   ` Christoph Hellwig
2020-08-18  7:02 ` [PATCH 3/4] md: use part_[begin|end]_io_acct instead of disk_[begin|end]_io_acct Song Liu
2020-08-18  7:02 ` [PATCH 4/4] bcache: " Song Liu
2020-08-18 10:31   ` Coly Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.