Re: help with understanding evict inode functionality

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 03, 2015 at 11:01:36PM -0700, Christoph Hellwig wrote:
> 
> That's not true.  Evict is called when we want to remove an inode
> from memory.  i_count needs to be zero for that, but i_nlink doesn't
> as we don't cache inodes forever.  When we drop i_count and it reaches
> zero iput_final() is called, which decides depending on ->drop_inode
> to either evict the inode or keep it on the LRU.

Sorry, of course Cristoph is absolutely correct.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux