Skip to content
  • Vivek Goyal's avatar
    blkio: Introduce the notion of cfq groups · cdb16e8f
    Vivek Goyal authored
    
    
    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: default avatarVivek Goyal <vgoyal@redhat.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    cdb16e8f