lkml.org 
[lkml]   [2009]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] io-controller: implement per group request allocation limitation


    Munehiro Ikeda wrote:
    > Gui Jianfeng wrote, on 07/09/2009 09:56 PM:
    >> Hi Vivek,
    >>
    >> This patch exports a cgroup based per group request limits interface.
    >> and removes the global one. Now we can use this interface to perform
    >> different request allocation limitation for different groups.
    >>
    >> Signed-off-by: Gui Jianfeng<guijianfeng@cn.fujitsu.com>
    >> ---
    > (snip)
    >
    > Hi Jianfeng,
    >
    > If this helps.
    >
    > If calling elv_io_group_congestion_threshold() before
    > setting iog->iocg_id, iocg->nr_group_requests cannot be
    > referred. As a result of it, iog->nr_congestion_on is
    > always misculculated as 0.
    > This patch moves the calling of
    > elv_io_group_congestion_threshold() after setting
    > iog->iocg_id.
    >
    > Signed-off-by: Munehiro "Muuhh" Ikeda <m-ikeda@ds.jp.nec.com>

    That's true, thanks.

    --
    Regards
    Gui Jianfeng



    \
     
     \ /
      Last update: 2009-08-04 08:45    [W:0.020 / U:1.388 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site