From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche Subject: [PATCH v2 0/2] Rework blk_mq_mark_tag_wait() Date: Wed, 10 Jan 2018 11:39:17 -0800 Message-Id: <20180110193919.6886-1-bart.vanassche@wdc.com> List-ID: Hello Jens, This patch series reworks the blk_mq_mark_tag_wait() implementation and also fixes a race condition in that function. Please consider these two patches for kernel v4.16. Thanks, Bart. Changes compared to v1: - Split a single patch into two patches to make reviewing easier. - The race fix does no longer use prepare_to_wait() / finish_wait(). Bart Van Assche (2): blk-mq: Reduce the number of if-statements in blk_mq_mark_tag_wait() blk-mq: Fix a race condition in blk_mq_mark_tag_wait() block/blk-mq.c | 49 ++++++++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 25 deletions(-) -- 2.15.1