Re: [PATCH] blkcg: stop iteration early if root_rl is the only requestlist
From: Jens Axboe
Date: Mon Oct 22 2012 - 14:43:32 EST
On 2012-10-22 03:15, Jun'ichi Nomura wrote:
> __blk_queue_next_rl() finds next request list based on blkg_list
> while skipping root_blkg in the list.
> OTOH, root_rl is special as it may exist even without root_blkg.
> Though the later part of the function handles such a case correctly,
> exiting early is good for readability of the code.
Applied to for-linus, thanks.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/