[PATCH v2 0/2] Rework blk_mq_mark_tag_wait()

Bart Van Assche
2018-01-10T19:39:17Z

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