Linux Container Development
 help / color / mirror / Atom feed
  • [parent not found: <1334878164-24788-5-git-send-email-tj@kernel.org>]
  • * [PATCHSET] block: fixes for long standing issues
    @ 2012-04-19 23:29 Tejun Heo
      0 siblings, 0 replies; 7+ messages in thread
    From: Tejun Heo @ 2012-04-19 23:29 UTC (permalink / raw)
      To: axboe-tSWWG44O7X1aa/9Udqfwiw
      Cc: ctalbott-hpIqsD4AKlfQT0dZR+AlfA, rni-hpIqsD4AKlfQT0dZR+AlfA,
    	containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
    	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
    	cgroups-u79uwXL29TY76Z2rM5mHXA, vgoyal-H+wXaHxf7aLQT0dZR+AlfA
    
    Hello,
    
    This patchset fixes two long standing issues and one relatively new
    css ref leak.
    
    a. elvpriv alloc failure, including ioc and icq failures, fails
       request allocation.  As those aren't mempool backed and may fail
       indefinitely, this can lead to deadlock under memory pressure.
    
    b. blkgs don't have proper indexing.  With enough number of
       request_queues and blk-throttle enabled, block layer can spend
       considerable amount of cpu cycles walking the same list over and
       over again.
    
    c. __blkg_lookup_create() was leaking a css ref on failure path.
    
    This patchset contains the following four patches.
    
     0001-block-collapse-blk_alloc_request-into-get_request.patch
     0002-block-fix-elvpriv-allocation-failure-handling.patch
     0003-blkcg-fix-blkcg-css-ref-leak-in-__blkg_lookup_create.patch
     0004-blkcg-use-radix-tree-to-index-blkgs-from-blkcg.patch
    
    0001-0002 fix #a.  0003 fixes #c.  0004 fixes #b.
    
    This patchset is on top of
    
      block/for-3.5/core 5bc4afb1ec "blkcg: drop BLKCG_STAT_{PRIV|POL|OFF} macros"
    + [1] [PATCHSET] block: per-queue policy activation, take#2
    + [2] [PATCHSET] block: cosmetic updates to blkcg API
    
    and available in the following git branch.
    
     git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git blk-misc-fixes
    
    diffstat follows.
    
     block/blk-cgroup.c |   71 ++++++++++++++++++++++++++++++++-----------
     block/blk-cgroup.h |    6 +++
     block/blk-core.c   |   87 ++++++++++++++++++++++++++++-------------------------
     3 files changed, 106 insertions(+), 58 deletions(-)
    
    Thanks.
    
    --
    tejun
    
    [1] https://lkml.org/lkml/2012/4/13/380
    [2] http://www.spinics.net/lists/cgroups/msg01748.html
    
    ^ permalink raw reply	[flat|nested] 7+ messages in thread

    end of thread, other threads:[~2012-04-20 17:26 UTC | newest]
    
    Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1334878164-24788-1-git-send-email-tj@kernel.org>
         [not found] ` <1334878164-24788-1-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
    2012-04-19 23:29   ` [PATCH 1/4] block: collapse blk_alloc_request() into get_request() Tejun Heo
    2012-04-19 23:29   ` [PATCH 2/4] block: fix elvpriv allocation failure handling Tejun Heo
    2012-04-19 23:29   ` [PATCH 3/4] blkcg: fix blkcg->css ref leak in __blkg_lookup_create() Tejun Heo
    2012-04-19 23:29   ` [PATCH 4/4] blkcg: use radix tree to index blkgs from blkcg Tejun Heo
    2012-04-20  8:10   ` [PATCHSET] block: fixes for long standing issues Jens Axboe
         [not found] ` <1334878164-24788-5-git-send-email-tj@kernel.org>
         [not found]   ` <1334878164-24788-5-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
    2012-04-20 17:26     ` [PATCH 4/4] blkcg: use radix tree to index blkgs from blkcg Vivek Goyal
    2012-04-19 23:29 [PATCHSET] block: fixes for long standing issues Tejun Heo
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox