From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vivek Goyal Subject: Re: 3.6-rc5 cgroups blkio throttle + md regression Date: Thu, 20 Sep 2012 14:42:19 -0400 Message-ID: <20120920184219.GH4681@redhat.com> References: <20120919194231.GF31860@redhat.com> <20120920183153.GI28934@google.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20120920183153.GI28934-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tejun Heo Cc: Joseph Glanville , cgroups On Thu, Sep 20, 2012 at 11:31:53AM -0700, Tejun Heo wrote: > Hello, > > On Wed, Sep 19, 2012 at 03:42:31PM -0400, Vivek Goyal wrote: > > On Thu, Sep 20, 2012 at 04:20:42AM +1000, Joseph Glanville wrote: > > > Hi, > > > > > > I booted the machine under bare metal to continue bisecting. > > > Thankfully this allowed me to locate the commit that causes the > > > problem. > > > > > > > I tested it and I am also noticing the hang. I can see this hang on > > dm devices also. > > > > I suspect this issue is related to bio based drivers. We exit the > > bypass mode in blk_init_allocated_queue() and that will be called > > only for request based drivers. So for bio based drivers may be > > we never exit the bypass mode and this issue is somehow side > > affect of that. > > Can you please trigger sysrq-t and post the result? Sorry, I had taken the sysrq-t output yesterday itself. Got distracted in other things and could never look through the code. Here it is. [ 418.685015] bash D ffff880037aa4e88 4720 2898 2847 0x00000080 [ 418.685015] ffff88007c777cd8 0000000000000082 ffff880037aa4b00 ffff88007c777fd8 [ 418.685015] ffff88007c777fd8 ffff88007c777fd8 ffffffff81c13440 ffff880037aa4b00 [ 418.685015] ffff88007c777ce8 ffffffff81e05e40 ffff88007c777d18 000000010001d5e4 [ 418.685015] Call Trace: [ 418.685015] [] schedule+0x29/0x70 [ 418.685015] [] schedule_timeout+0x130/0x250 [ 418.685015] [] ? kobj_lookup+0x10b/0x160 [ 418.685015] [] ? usleep_range+0x50/0x50 [ 418.685015] [] schedule_timeout_uninterruptible+0x1e/0x20 [ 418.685015] [] msleep+0x20/0x30 [ 418.685015] [] blkg_conf_prep+0x118/0x140 [ 418.685015] [] ? tg_set_conf_uint+0x20/0x20 [ 418.685015] [] tg_set_conf.isra.20+0x2a/0xd0 [ 418.685015] [] ? do_signal+0x3f/0x610 [ 418.685015] [] tg_set_conf_u64+0x17/0x20 [ 418.685015] [] cgroup_file_write+0x1bf/0x2c0 [ 418.685015] [] ? security_file_permission+0x2c/0xb0 [ 418.685015] [] vfs_write+0xac/0x180 [ 418.685015] [] sys_write+0x4a/0x90 [ 418.685015] [] system_call_fastpath+0x16/0x1b Thanks Vivek