[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1597727255.git.baolin.wang@linux.alibaba.com>
Date: Tue, 18 Aug 2020 13:45:27 +0800
From: Baolin Wang <baolin.wang@...ux.alibaba.com>
To: axboe@...nel.dk
Cc: ming.lei@...hat.com, hch@....de, baolin.wang@...ux.alibaba.com,
baolin.wang7@...il.com, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/3] Some clean-ups for bio merge
Hi,
There are some duplicated code when trying to merge bio from pluged list
and software queue, thus this patch set did some clean-ups when merging
a bio. Any comments are welcome. Thanks.
Changes from v1:
- Drop patch 2 and patch 5 in v1 patch set.
- Add reviewed-by tag from Christoph.
- Move blk_mq_bio_list_merge() into blk-merge.c and rename it.
- Some coding style improvements.
Baolin Wang (3):
block: Move bio merge related functions into blk-merge.c
block: Add a new helper to attempt to merge a bio
block: Remove blk_mq_attempt_merge() function
block/blk-core.c | 156 --------------------------------------
block/blk-merge.c | 202 +++++++++++++++++++++++++++++++++++++++++++++++++
block/blk-mq-sched.c | 94 +++++------------------
block/blk.h | 23 ++++--
block/kyber-iosched.c | 2 +-
include/linux/blk-mq.h | 2 -
6 files changed, 239 insertions(+), 240 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists