]> err.no Git - linux-2.6/commit
[PATCH] blk: use find_first_zero_bit() in blk_queue_start_tag()
authorTejun Heo <htejun@gmail.com>
Thu, 23 Jun 2005 07:08:48 +0000 (00:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:15 +0000 (09:45 -0700)
commit2bf0fdad51c6710bf15d0bf4b9b30b8498fe4ddd
treee4dea0ce02413260ca4dfc3b7de0bb91570f331b
parent15d20bfd606c4b4454aeaa05fc86f77994e48c92
[PATCH] blk: use find_first_zero_bit() in blk_queue_start_tag()

blk_queue_start_tag() hand-coded searching for the first zero bit in the tag
map.  Replace it with find_first_zero_bit().  With this patch,
blk_queue_star_tag() doesn't need to fill remains of tag map with 1, thus
allowing it to work properly with the next remove_real_max_depth patch.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/ll_rw_blk.c