Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756139AbYKUDCS (ORCPT ); Thu, 20 Nov 2008 22:02:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752876AbYKUDCC (ORCPT ); Thu, 20 Nov 2008 22:02:02 -0500 Received: from ms01.sssup.it ([193.205.80.99]:52680 "EHLO sssup.it" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752843AbYKUDCA (ORCPT ); Thu, 20 Nov 2008 22:02:00 -0500 Date: Fri, 21 Nov 2008 04:05:33 +0100 From: Fabio Checconi To: Vivek Goyal Cc: Nauman Rafique , Li Zefan , Divyesh Shah , Ryo Tsuruta , linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, virtualization@lists.linux-foundation.org, jens.axboe@oracle.com, taka@valinux.co.jp, righi.andrea@gmail.com, s-uchida@ap.jp.nec.com, fernando@oss.ntt.co.jp, balbir@linux.vnet.ibm.com, akpm@linux-foundation.org, menage@google.com, ngupta@google.com, riel@redhat.com, jmoyer@redhat.com, peterz@infradead.org, paolo.valente@unimore.it Subject: Re: [patch 0/4] [RFC] Another proportional weight IO controller Message-ID: <20081121030533.GA30883@gandalf.sssup.it> References: <20081114160525.GE24624@redhat.com> <20081117142309.GA15564@redhat.com> <4922224A.5030502@cn.fujitsu.com> <20081118120508.GD15268@gandalf.sssup.it> <20081118140751.GA4283@redhat.com> <20081118144139.GE15268@gandalf.sssup.it> <20081120213155.GI29306@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081120213155.GI29306@redhat.com> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1087 Lines: 32 > From: Vivek Goyal > Date: Thu, Nov 20, 2008 04:31:55PM -0500 > ... > Hi Fabio, > > I though will give bfq a try. I get following when I put my current shell > into a newly created cgroup and then try to do "ls". > The posted patch cannot work as it is, I'm sorry for that ugly bug. Do you still have problems with this one applied? --- diff --git a/block/bfq-cgroup.c b/block/bfq-cgroup.c index efb03fc..ed8c597 100644 --- a/block/bfq-cgroup.c +++ b/block/bfq-cgroup.c @@ -168,7 +168,7 @@ static void bfq_group_chain_link(struct bfq_data *bfqd, struct cgroup *cgroup, spin_lock_irqsave(&bgrp->lock, flags); - rcu_assign_pointer(bfqg->bfqd, bfqd); + rcu_assign_pointer(leaf->bfqd, bfqd); hlist_add_head_rcu(&leaf->group_node, &bgrp->group_data); hlist_add_head(&leaf->bfqd_node, &bfqd->group_list); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/