diff options
author | Jens Axboe <axboe@kernel.dk> | 2006-09-21 20:37:22 +0200 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 20:52:34 +0200 |
commit | 059af497c23492cb1ddcbba11c09dad385960bc0 (patch) | |
tree | 656bbfa7104e065f0da8eac0c14b62ba1c088214 /include/rxrpc/krxiod.h | |
parent | 0fe23479577124bd2687e6783e39fa0fa4c28005 (diff) | |
download | linux-059af497c23492cb1ddcbba11c09dad385960bc0.tar.gz linux-059af497c23492cb1ddcbba11c09dad385960bc0.tar.bz2 linux-059af497c23492cb1ddcbba11c09dad385960bc0.zip |
[PATCH] blk_queue_start_tag() shared map race fix
If we share the tag map between two or more queues, then we cannot
use __set_bit() to set the bit. In fact we need to make sure we
atomically acquire this tag, so loop using test_and_set_bit() to
protect from that.
Noticed by Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/rxrpc/krxiod.h')
0 files changed, 0 insertions, 0 deletions