summaryrefslogtreecommitdiff
path: root/block/bsg-lib.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2014-05-10 17:01:48 (GMT)
committerJens Axboe <axboe@fb.com>2014-05-10 21:41:42 (GMT)
commit0289b2e110b7824b2f76d194ad6f8f0844e270ad (patch)
treeeac254d7cd5b82bda9cfb4cd8b489c6173b40659 /block/bsg-lib.c
parent59d13bf5f57ded658c872fa22276f75ab8f12841 (diff)
downloadlinux-0289b2e110b7824b2f76d194ad6f8f0844e270ad.tar.xz
blk-mq: bitmap tag: use clear_bit_unlock in bt_clear_tag()
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>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions