From: Shaohua Li Date: Tue, 15 Oct 2013 01:05:03 +0000 (+0800) Subject: percpu_ida: add an API to return free tags X-Git-Tag: v3.13-rc1~101^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dddc01af0d42b21058e0cb9c1ca9e8d5204d9b0;p=pandora-kernel.git percpu_ida: add an API to return free tags Add an API to return free tags, blk-mq-tag will use it. Note, this just returns a snapshot of free tags number. blk-mq-tag has two usages of it. One is for info output for diagnosis. The other is to quickly check if there are free tags for request dispatch checking. Neither requires very precise. Cc: Andrew Morton Signed-off-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed