Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-11 Thread Seth Forshee
On Mon, Jul 11, 2016 at 07:03:31AM -0400, Jeff Layton wrote: > On Mon, 2016-07-11 at 09:23 +0200, Michal Hocko wrote: > > On Fri 08-07-16 10:27:38, Jeff Layton wrote: > > > On Fri, 2016-07-08 at 16:23 +0200, Michal Hocko wrote: > > > > On Fri 08-07-16 08:51:54, Jeff Layton wrote: > > > > > > > > >

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-11 Thread Michal Hocko
On Mon 11-07-16 07:03:31, Jeff Layton wrote: > On Mon, 2016-07-11 at 09:23 +0200, Michal Hocko wrote: > > On Fri 08-07-16 10:27:38, Jeff Layton wrote: > > > On Fri, 2016-07-08 at 16:23 +0200, Michal Hocko wrote: > > > > On Fri 08-07-16 08:51:54, Jeff Layton wrote: > > > > > > > > > > On Fri, 2016-

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-11 Thread Jeff Layton
On Mon, 2016-07-11 at 09:23 +0200, Michal Hocko wrote: > On Fri 08-07-16 10:27:38, Jeff Layton wrote: > > On Fri, 2016-07-08 at 16:23 +0200, Michal Hocko wrote: > > > On Fri 08-07-16 08:51:54, Jeff Layton wrote: > > > > > > > > On Fri, 2016-07-08 at 14:22 +0200, Michal Hocko wrote: > > > [...] > >

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-11 Thread Michal Hocko
On Fri 08-07-16 10:27:38, Jeff Layton wrote: > On Fri, 2016-07-08 at 16:23 +0200, Michal Hocko wrote: > > On Fri 08-07-16 08:51:54, Jeff Layton wrote: > > > > > > On Fri, 2016-07-08 at 14:22 +0200, Michal Hocko wrote: > > [...] > > > > > > > > > > > Apart from alternative Dave was mentioning in

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-10 Thread Dave Chinner
On Fri, Jul 08, 2016 at 01:05:40PM +, Trond Myklebust wrote: > > On Jul 8, 2016, at 08:55, Trond Myklebust > > wrote: > >> On Jul 8, 2016, at 08:48, Seth Forshee > >> wrote: On Fri, Jul 08, 2016 at > >> 09:53:30AM +1000, Dave Chinner wrote: > >>> On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Jeff Layton
On Fri, 2016-07-08 at 16:23 +0200, Michal Hocko wrote: > On Fri 08-07-16 08:51:54, Jeff Layton wrote: > > > > On Fri, 2016-07-08 at 14:22 +0200, Michal Hocko wrote: > [...] > > > > > > > > Apart from alternative Dave was mentioning in other email, what > > > is the > > > point to use freezable w

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Michal Hocko
On Fri 08-07-16 08:51:54, Jeff Layton wrote: > On Fri, 2016-07-08 at 14:22 +0200, Michal Hocko wrote: [...] > > Apart from alternative Dave was mentioning in other email, what is the > > point to use freezable wait from this path in the first place? > > > > nfs4_handle_exception does nfs4_wait_cln

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Trond Myklebust
> On Jul 8, 2016, at 08:55, Trond Myklebust wrote: > > >> On Jul 8, 2016, at 08:48, Seth Forshee wrote: >> >> On Fri, Jul 08, 2016 at 09:53:30AM +1000, Dave Chinner wrote: >>> On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wro

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Trond Myklebust
> On Jul 8, 2016, at 08:48, Seth Forshee wrote: > > On Fri, Jul 08, 2016 at 09:53:30AM +1000, Dave Chinner wrote: >> On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: >>> On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: We're seeing a hang when freezing a container with an

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Jeff Layton
On Fri, 2016-07-08 at 14:22 +0200, Michal Hocko wrote: > On Wed 06-07-16 18:07:18, Jeff Layton wrote: > > > > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > > > > > We're seeing a hang when freezing a container with an nfs bind mount while > > > running iozone. Two iozone processes we

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Seth Forshee
On Fri, Jul 08, 2016 at 09:53:30AM +1000, Dave Chinner wrote: > On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: > > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > > We're seeing a hang when freezing a container with an nfs bind mount while > > > running iozone. Two iozone p

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Seth Forshee
On Fri, Jul 08, 2016 at 02:22:24PM +0200, Michal Hocko wrote: > On Wed 06-07-16 18:07:18, Jeff Layton wrote: > > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > > We're seeing a hang when freezing a container with an nfs bind mount while > > > running iozone. Two iozone processes were hu

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Michal Hocko
On Wed 06-07-16 18:07:18, Jeff Layton wrote: > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > We're seeing a hang when freezing a container with an nfs bind mount while > > running iozone. Two iozone processes were hung with this stack trace. > > > >  [] schedule+0x35/0x80 > >  [] sche

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-08 Thread Jeff Layton
On Fri, 2016-07-08 at 09:53 +1000, Dave Chinner wrote: > On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: > > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > > We're seeing a hang when freezing a container with an nfs bind > > > mount while > > > running iozone. Two iozone pr

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-07 Thread Dave Chinner
On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > We're seeing a hang when freezing a container with an nfs bind mount while > > running iozone. Two iozone processes were hung with this stack trace. > > > >  [] schedule+0x35/0

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-07 Thread Jeff Layton
On Wed, 2016-07-06 at 22:55 -0500, Seth Forshee wrote: > On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: > > > > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > > > > > We're seeing a hang when freezing a container with an nfs bind mount while > > > running iozone. Two ioz

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-06 Thread Seth Forshee
On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > We're seeing a hang when freezing a container with an nfs bind mount while > > running iozone. Two iozone processes were hung with this stack trace. > > > >  [] schedule+0x35/0

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-06 Thread Jeff Layton
On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > We're seeing a hang when freezing a container with an nfs bind mount while > running iozone. Two iozone processes were hung with this stack trace. > >  [] schedule+0x35/0x80 >  [] schedule_preempt_disabled+0xe/0x10 >  [] __mutex_lock_slowpat

Hang due to nfs letting tasks freeze with locked inodes

2016-07-06 Thread Seth Forshee
We're seeing a hang when freezing a container with an nfs bind mount while running iozone. Two iozone processes were hung with this stack trace. [] schedule+0x35/0x80 [] schedule_preempt_disabled+0xe/0x10 [] __mutex_lock_slowpath+0xb9/0x130 [] mutex_lock+0x1f/0x30 [] do_unlinkat+0x12b/0x2d0