Re: [PATCH] inode: add hlist_fake to avoid the inode hash lock in evict V2

2015-03-14 Thread Jan Kara
On Thu 12-03-15 08:20:23, Josef Bacik wrote: > Some filesystems don't use the VFS inode hash and fake the fact they > are hashed so that all the writeback code works correctly. However, > this means the evict() path still tries to remove the inode from the > hash, meaning that the inode_hash_lock()

[PATCH] inode: add hlist_fake to avoid the inode hash lock in evict V2

2015-03-12 Thread Josef Bacik
Some filesystems don't use the VFS inode hash and fake the fact they are hashed so that all the writeback code works correctly. However, this means the evict() path still tries to remove the inode from the hash, meaning that the inode_hash_lock() needs to be taken unnecessarily. Hence under certain