lkml.org 
[lkml]   [2014]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/8] block: per-distpatch_queue flush machinery
Date
Hi,

As recent discussion, especially suggested by Christoph, this patchset
implements per-distpatch_queue flush machinery, so that:

- current init_request and exit_request callbacks can
cover flush request too, then the buggy copying way of
initializing flush request's pdu can be fixed

- flushing performance gets improved in case of multi hw-queue

About 70% throughput improvement is observed in sync write/randwrite
over multi dispatch-queue virtio-blk, see details in commit log
of patch 8/8.

This patchset can be pulled from below tree too:

git://kernel.ubuntu.com/ming/linux.git v3.17-block-dev_v1

V1:
- commit log typo fix
- introduce blk_alloc_flush_queue() and its pair earlier, so
that patch 5 and 8 become easier for review


block/blk-core.c | 11 +--
block/blk-flush.c | 217 ++++++++++++++++++++++++++++++++++++++----------
block/blk-mq.c | 27 +++---
block/blk-mq.h | 1 -
block/blk-sysfs.c | 4 +-
block/blk.h | 35 +++++++-
include/linux/blk-mq.h | 2 +
include/linux/blkdev.h | 10 +--
8 files changed, 229 insertions(+), 78 deletions(-)

Thanks,
--
Ming Lei



\
 
 \ /
  Last update: 2014-09-10 06:41    [W:0.088 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site