From: Jens Axboe Date: Thu, 21 Sep 2006 18:37:22 +0000 (+0200) Subject: [PATCH] blk_queue_start_tag() shared map race fix X-Git-Tag: v2.6.19-rc1~640^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=059af497c23492cb1ddcbba11c09dad385960bc0;p=pandora-kernel.git [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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed