blk-mq: bitmap tag: use clear_bit_unlock in bt_clear_tag()
authorMing Lei <tom.leiming@gmail.com>
Sat, 10 May 2014 17:01:48 +0000 (01:01 +0800)
committerJens Axboe <axboe@fb.com>
Sat, 10 May 2014 21:41:42 +0000 (15:41 -0600)
The unlock memory barrier need to order access to req in free
path and clearing tag bit, otherwise either request free path
may see a allocated request, or initialized request in allocate
path might be modified by the ongoing free path.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c

Simple merge