Hi Frank,
These are few paths:
mdcache_readdir_chunked()
-> mdcache_find_keyed_reason(.., MDC_REASON_SCAN)
-> mdcache_lru_ref(.., LRU_FLAG_NONE)
mdcache_readdir_chunked()
-> mdcache_get()
-> mdcache_lru_ref(.., LRU_FLAG_NONE)
mdc_read_super_cb/mdc_write_super_cb
-> mdcache_get()
-> mdcache_lru_ref(.., LRU_FLAG_NONE)
For read/write, I guess we would call mdcache_create_handle() which would have moved the
entry to L1. So, readdir heavy workloads can cause this (like build?) There must be some
reason why we don't move entries to L1 or to MRU on readdir.
Thanks,
Pradeep