[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <508593D4.20908@kernel.dk>
Date: Mon, 22 Oct 2012 20:43:32 +0200
From: Jens Axboe <axboe@...nel.dk>
To: Jun'ichi Nomura <j-nomura@...jp.nec.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Tejun Heo <tj@...nel.org>, Vivek Goyal <vgoyal@...hat.com>
Subject: Re: [PATCH] blkcg: stop iteration early if root_rl is the only request
list
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.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists