[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190602024316.GT17978@ZenIV.linux.org.uk>
Date: Sun, 2 Jun 2019 03:43:19 +0100
From: Al Viro <viro@...iv.linux.org.uk>
To: "Yan, Zheng" <zyan@...hat.com>
Cc: linux-kernel@...r.kernel.org, idryomov@...hat.com,
jlayton@...hat.com
Subject: Re: [PATCH] ceph: use ceph_evict_inode to cleanup inode's resource
On Sun, Jun 02, 2019 at 10:25:46AM +0800, Yan, Zheng wrote:
> remove_session_caps() relies on __wait_on_freeing_inode(), to wait for
> freezing inode to remove its caps. But VFS wakes freeing inode waiters
> before calling destroy_inode().
*blink*
Which tree is that against?
> -static void ceph_i_callback(struct rcu_head *head)
> -{
> - struct inode *inode = container_of(head, struct inode, i_rcu);
> - struct ceph_inode_info *ci = ceph_inode(inode);
> -
> - kfree(ci->i_symlink);
> - kmem_cache_free(ceph_inode_cachep, ci);
> -}
... is gone from mainline, and AFAICS not reintroduced in ceph tree.
What am I missing here?
Powered by blists - more mailing lists