Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-12-07 Thread Gavin Guo
Hi Dave, On Mon, Aug 31, 2015 at 3:33 PM, Gavin Guo wrote: > On Sun, Aug 30, 2015 at 6:31 AM, Dave Chinner wrote: >> On Fri, Aug 28, 2015 at 08:54:04PM +0800, Gavin Guo wrote: >>> On Wed, Jul 8, 2015 at 7:37 AM, Dave Chinner wrote: >>> > On Tue, Jul 07, 2015 at 05:29:43PM +0800, Gavin Guo wrote

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-08-31 Thread Gavin Guo
On Sun, Aug 30, 2015 at 6:31 AM, Dave Chinner wrote: > On Fri, Aug 28, 2015 at 08:54:04PM +0800, Gavin Guo wrote: >> On Wed, Jul 8, 2015 at 7:37 AM, Dave Chinner wrote: >> > On Tue, Jul 07, 2015 at 05:29:43PM +0800, Gavin Guo wrote: >> >> Hi all, >> >> >> >> Recently, we observed that there is th

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-08-29 Thread Dave Chinner
On Fri, Aug 28, 2015 at 08:54:04PM +0800, Gavin Guo wrote: > On Wed, Jul 8, 2015 at 7:37 AM, Dave Chinner wrote: > > On Tue, Jul 07, 2015 at 05:29:43PM +0800, Gavin Guo wrote: > >> Hi all, > >> > >> Recently, we observed that there is the error message in > >> Ubuntu-3.13.0-48.80: > >> > >> "XFS:

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-08-28 Thread Gavin Guo
On Wed, Jul 8, 2015 at 7:37 AM, Dave Chinner wrote: > On Tue, Jul 07, 2015 at 05:29:43PM +0800, Gavin Guo wrote: >> Hi all, >> >> Recently, we observed that there is the error message in >> Ubuntu-3.13.0-48.80: >> >> "XFS: possible memory allocation deadlock in kmem_alloc (mode:0x8250)" >> >> repe

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-07-08 Thread Dave Chinner
On Wed, Jul 08, 2015 at 10:06:10PM +0800, juncheng bai wrote: > Hi, All > > As far as I know, the patch b3f03bac8132207a20286d5602eda64500c19724 > solves one case which big directory size. > > I am not very familiar with xfs, but I think why can't we use vmalloc > when kmalloc fails? Because vma

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-07-08 Thread juncheng bai
Hi, All As far as I know, the patch b3f03bac8132207a20286d5602eda64500c19724 solves one case which big directory size. I am not very familiar with xfs, but I think why can't we use vmalloc when kmalloc fails? Thanks. -- juncheng bai On 2015/7/8 20:34, Gavin Guo wrote: Hi Dave,

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-07-08 Thread Gavin Guo
Hi Dave, On Wed, Jul 8, 2015 at 7:37 AM, Dave Chinner wrote: > On Tue, Jul 07, 2015 at 05:29:43PM +0800, Gavin Guo wrote: >> Hi all, >> >> Recently, we observed that there is the error message in >> Ubuntu-3.13.0-48.80: >> >> "XFS: possible memory allocation deadlock in kmem_alloc (mode:0x8250)"

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-07-07 Thread Dave Chinner
On Tue, Jul 07, 2015 at 05:29:43PM +0800, Gavin Guo wrote: > Hi all, > > Recently, we observed that there is the error message in > Ubuntu-3.13.0-48.80: > > "XFS: possible memory allocation deadlock in kmem_alloc (mode:0x8250)" > > repeatedly shows in the dmesg. Temporarily, our workaround is to

Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-07-07 Thread Gavin Guo
Hi all, Recently, we observed that there is the error message in Ubuntu-3.13.0-48.80: "XFS: possible memory allocation deadlock in kmem_alloc (mode:0x8250)" repeatedly shows in the dmesg. Temporarily, our workaround is to tune the parameters, such as, vfs_cache_pressure, min_free_kbytes, and dir