lkml.org 
[lkml]   [2012]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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



    \
     
     \ /
      Last update: 2012-10-22 21:01    [W:3.852 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site