[lkml]   [2013]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 21/24] blkcg: make blkcg_print_blkgs() grab q locks instead of blkcg lock
On Fri, Dec 28, 2012 at 12:35:43PM -0800, Tejun Heo wrote:
> Instead of holding blkcg->lock while walking ->blkg_list and executing
> prfill(), RCU walk ->blkg_list and hold the blkg's queue lock while
> executing prfill(). This makes prfill() implementations easier as
> stats are mostly protected by queue lock.
> This will be used to implement hierarchical stats.
> Signed-off-by: Tejun Heo <>

Acked-by: Vivek Goyal <>


 \ /
  Last update: 2013-01-08 19:41    [W:0.167 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site