]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: bitmap tag: fix races on shared ::wake_index fields
authorAlexander Gordeev <agordeev@redhat.com>
Wed, 18 Jun 2014 05:12:35 +0000 (22:12 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 18 Jun 2014 05:12:35 +0000 (22:12 -0700)
commitb207402f8c284a4d1678e6bd26be8b8a87f2ed95
treeeef471e49e99b4e78d180f1158258ef1d5eb0aca
parent9a00dc9b25688aad400ed25b6ddd342747dba0f3
blk-mq: bitmap tag: fix races on shared ::wake_index fields

Fix racy updates of shared blk_mq_bitmap_tags::wake_index
and blk_mq_hw_ctx::wake_index fields.

Cc: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c
block/blk-mq-tag.h
include/linux/blk-mq.h