Re: I_CLEAR bug while shrinking dcache

2015-04-20 Thread Samuel Thibault
Samuel Thibault, le Tue 14 Apr 2015 16:44:02 +0200, a écrit : > Al Viro, le Tue 14 Apr 2015 13:44:29 +0100, a écrit : > > The first variant can happen, but in that case it should have had > > DCACHE_DENTRY_KILLED set by said __dentry_kill() and skipped. The other > > two are clear inode refcountin

Re: I_CLEAR bug while shrinking dcache

2015-04-14 Thread Samuel Thibault
Al Viro, le Tue 14 Apr 2015 13:44:29 +0100, a écrit : > On Tue, Apr 14, 2015 at 10:12:54AM +0200, Samuel Thibault wrote: > > So it seems that shrink_dentry_list was trying to kill an inode which > > already has I_CLEAR. I'll be trying the attached patch in the next > > days. > > That patch is jus

Re: I_CLEAR bug while shrinking dcache

2015-04-14 Thread Al Viro
On Tue, Apr 14, 2015 at 10:12:54AM +0200, Samuel Thibault wrote: > So it seems that shrink_dentry_list was trying to kill an inode which > already has I_CLEAR. I'll be trying the attached patch in the next > days. That patch is just papering over the problem. What you have is a dentry with ->d_

I_CLEAR bug while shrinking dcache

2015-04-14 Thread Samuel Thibault
Hello, This morning I got the following with linux 4.0.0: Apr 14 08:36:28 type kernel: [46936.950171] kernel BUG at fs/inode.c:1475! Apr 14 08:36:28 type kernel: [46936.950206] invalid opcode: [#1] SMP Apr 14 08:36:28 type kernel: [46936.950246] Modules linked in: tun xt_REDIRECT nf_nat_re