commit | 7930d0a00ff5dbcc80f793d1a7a6b8de4e591f1a | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@redhat.com> | Sat Oct 14 17:22:27 2017 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 01 08:20:02 2017 -0600 |
tree | 7afbd8c0264c0e6d39b347145a4761620d9a30ae | |
parent | caf8eb0d604a0eaeb8111eb4d36853a6d08eebe7 [diff] |
sbitmap: introduce __sbitmap_for_each_set() For blk-mq, we need to be able to iterate software queues starting from any queue in a round robin fashion, so introduce this helper. Reviewed-by: Omar Sandoval <osandov@fb.com> Cc: Omar Sandoval <osandov@fb.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>