Re: [PATCH] mm/vmscan.c: drop all inode/dentry cache from LRU

2019-05-24 Thread Theodore Ts'o
On Fri, May 24, 2019 at 01:36:01PM +0530, Sahitya Tummala wrote: > This is important for the scenario where FBE (file based encryption) > is enabled. With FBE, the encryption context needed to en/decrypt a file > will be stored in inode and any inode that is left in the cache after > drop_caches is

Re: [PATCH] mm/vmscan.c: drop all inode/dentry cache from LRU

2019-05-24 Thread Yafang Shao
On Fri, May 24, 2019 at 4:06 PM Sahitya Tummala wrote: > > This is important for the scenario where FBE (file based encryption) > is enabled. With FBE, the encryption context needed to en/decrypt a file > will be stored in inode and any inode that is left in the cache after > drop_caches is done w

[PATCH] mm/vmscan.c: drop all inode/dentry cache from LRU

2019-05-24 Thread Sahitya Tummala
This is important for the scenario where FBE (file based encryption) is enabled. With FBE, the encryption context needed to en/decrypt a file will be stored in inode and any inode that is left in the cache after drop_caches is done will be a problem. For ex, in Android, drop_caches will be used whe