From: Akinobu Mita <akinobu.mita@gmail.com>
To: linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Subject: [PATCH 0/4] blk-mq: fix race conditions on cpu hotplug handling
Date: Sun, 21 Jun 2015 22:52:27 +0900 [thread overview]
Message-ID: <1434894751-6877-1-git-send-email-akinobu.mita@gmail.com> (raw)
This patchset addresses several race conditions on cpu hotplug handling
for blk-mq. All problems are reproducible by the following script.
while true; do
echo 0 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu1/online
done &
while true; do
modprobe -r null_blk
modprobe null_blk queue_mode=2 irqmode=1
sleep 0.1
done
Akinobu Mita (4):
blk-mq: fix sysfs registration/unregistration race
blk-mq: fix q->mq_map access race
blk-mq: establish new mapping before cpu starts handling requests
blk-mq: fix mq_usage_counter race when switching to percpu mode
block/blk-mq-cpumap.c | 9 ++++----
block/blk-mq-sysfs.c | 21 +++++++++++++++++--
block/blk-mq.c | 56 +++++++++++++++++++++++++++++++++-----------------
block/blk-mq.h | 3 ++-
include/linux/blk-mq.h | 1 +
include/linux/blkdev.h | 6 ++++++
6 files changed, 70 insertions(+), 26 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2015-06-21 13:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-21 13:52 Akinobu Mita [this message]
2015-06-21 13:52 ` [PATCH 1/4] blk-mq: fix sysfs registration/unregistration race Akinobu Mita
2015-06-24 8:59 ` Ming Lei
2015-06-21 13:52 ` [PATCH 2/4] blk-mq: fix q->mq_map access race Akinobu Mita
2015-06-24 9:23 ` Ming Lei
2015-06-21 13:52 ` [PATCH 3/4] blk-mq: establish new mapping before cpu starts handling requests Akinobu Mita
2015-06-24 9:46 ` Ming Lei
2015-06-24 14:34 ` Akinobu Mita
2015-06-24 16:24 ` Ming Lei
2015-06-25 2:56 ` Akinobu Mita
2015-06-25 8:07 ` Ming Lei
2015-06-25 12:49 ` Akinobu Mita
2015-06-25 15:40 ` Ming Lei
2015-06-25 23:35 ` Akinobu Mita
2015-06-26 17:14 ` Akinobu Mita
2015-06-27 16:08 ` Ming Lei
2015-06-29 14:25 ` Akinobu Mita
2015-06-30 9:06 ` Ming Lei
2015-06-21 13:52 ` [PATCH 4/4] blk-mq: fix mq_usage_counter race when switching to percpu mode Akinobu Mita
2015-06-24 12:35 ` Ming Lei
2015-06-29 14:31 ` Akinobu Mita
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1434894751-6877-1-git-send-email-akinobu.mita@gmail.com \
--to=akinobu.mita@gmail.com \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.