From: Shaohua Li Date: Tue, 15 Oct 2013 01:05:02 +0000 (+0800) Subject: percpu_ida: add percpu_ida_for_each_free X-Git-Tag: v3.13-rc1~101^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fc2ba17e8bf9f218cac10cc2a3de613d9d9086d;p=pandora-kernel.git percpu_ida: add percpu_ida_for_each_free Add a new API to iterate free ids. blk-mq-tag will use it. Note, this doesn't guarantee to iterate all free ids restrictly. Caller should be aware of this. blk-mq uses it to do sanity check for request timedout, so can tolerate the limitation. Cc: Andrew Morton Signed-off-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed