From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: [PATCH v4 0/7] per-cpu in_flight counters for bio-based drivers Date: Thu, 6 Dec 2018 11:41:15 -0500 Message-ID: <20181206164122.2166-1-snitzer@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Jens Axboe Cc: linux-block@vger.kernel.org, dm-devel@redhat.com, Mikulas Patocka List-Id: dm-devel.ids Hey, This v4 addresses the compile issues on various archs when CONFIG_SMP isn't set (by introducing appropriate wrappers in genhd.h) Testing with this v4 I was unable to reproduce the issue you reported where iostat always reports 0 for avgqu-sz -- but please let me know if you still see problems like that. Thanks, Mike Mike Snitzer (2): dm rq: leverage blk_mq_queue_busy() to check for outstanding IO block: stop passing 'cpu' to all percpu stats methods Mikulas Patocka (5): dm: dont rewrite dm_disk(md)->part0.in_flight block: delete part_round_stats and switch to less precise counting block: switch to per-cpu in-flight counters block: return just one value from part_in_flight dm: remove the pending IO accounting block/bio.c | 36 ++++++++++++++++----- block/blk-core.c | 80 +++++++---------------------------------------- block/blk-merge.c | 4 +-- block/blk-mq.c | 12 +++---- block/blk-mq.h | 3 +- block/genhd.c | 55 ++++++++++++++++++-------------- block/partition-generic.c | 10 ++---- drivers/md/dm-core.h | 2 -- drivers/md/dm-rq.c | 9 +++--- drivers/md/dm.c | 36 +++++++++------------ drivers/md/md.c | 7 ++--- include/linux/genhd.h | 55 +++++++++++++++++++------------- 12 files changed, 137 insertions(+), 172 deletions(-) -- 2.15.0