[dm-devel] [PATCH V6 3/5] sbitmap: introduce __sbitmap_for_each_set()

Omar Sandoval osandov at osandov.com
Tue Oct 10 18:15:29 UTC 2017


On Mon, Oct 09, 2017 at 07:24:22PM +0800, Ming Lei wrote:
> We need to iterate ctx starting from any ctx in round robin
> way, so introduce this helper.
> 
> Cc: Omar Sandoval <osandov at fb.com>

Reviewed-by: Omar Sandoval <osandov at fb.com>

> Signed-off-by: Ming Lei <ming.lei at redhat.com>
> ---
>  include/linux/sbitmap.h | 64 ++++++++++++++++++++++++++++++++++++-------------
>  1 file changed, 47 insertions(+), 17 deletions(-)




More information about the dm-devel mailing list