• V
    blkio: Introduce the notion of cfq groups · cdb16e8f
    Vivek Goyal 提交于
    o This patch introduce the notion of cfq groups. Soon we will can have multiple
      groups of different weights in the system.
    
    o Various service trees (prioclass and workload type trees), will become per
      cfq group. So hierarchy looks as follows.
    
    			cfq_groups
    			   |
    			workload type
    			   |
    		        cfq queue
    
    o When an scheduling decision has to be taken, first we select the cfq group
      then workload with-in the group and then cfq queue with-in the workload
      type.
    
    o This patch just makes various workload service tree per cfq group and
      introduce the function to be able to choose a group for scheduling.
    Signed-off-by: NVivek Goyal <vgoyal@redhat.com>
    Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
    cdb16e8f
cfq-iosched.c 77.9 KB