From: Ming Lei Date: Sat, 10 May 2014 21:43:14 +0000 (-0600) Subject: blk-mq: bitmap tag: select random tag betweet 0 and (depth - 1) X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~49^2~41^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d3d21aeb4f194cd7ac205abe68b14b47ae736a8;p=pandora-kernel.git blk-mq: bitmap tag: select random tag betweet 0 and (depth - 1) The selected tag should be selected at random between 0 and (depth - 1) with probability 1/depth, instead between 0 and (depth - 2) with probability 1/(depth - 1). Signed-off-by: Ming Lei Signed-off-by: Jens Axboe --- Reading git-diff-tree failed