1. 02 Aug, 2011 2 commits
    • Jens Axboe's avatar
      bsg-lib: add module.h include · e2a5429f
      Jens Axboe authored
      Due to conflicts with the moduleh tree in linux-next, we
      run into an include file mess. We really need export.h
      in that tree, but if we add module.h locally then the
      issue is easier to resolve.
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
      e2a5429f
    • Vivek Goyal's avatar
      cfq-iosched: Reduce linked group count upon group destruction · a5395b83
      Vivek Goyal authored
      FQ keeps track of number of groups which are linked on blkcg->blkg_list.
      This is useful to avoid races between queue exit and cgroup exit code
      paths. So if at the request queue exit time linked group count is not
      zero, that means there are some group out there which is yet to be
      deleted under rcu read period and queue exit code should wait for
      on rcu period.
      
      In my previous patch I forgot to decrease the number of group count.
      So in current form, we nr_blkcg_linked_grps is always non-zero and
      we will always wait one rcu period (if BLK_CGROUP=y). The side effect
      of this is that it can increase boot time. I am surprised, nobody
      complained so far.
      Signed-off-by: default avatarVivek Goyal <vgoyal@redhat.com>
      Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
      a5395b83
  2. 01 Aug, 2011 1 commit
  3. 31 Jul, 2011 37 commits