Hi Ganesha Team,
In MDCache we have two arrays named LRU and CHUNK_LRU to store the lru
entry in their respective queues.
For the CHUNK_LRU, the function lru_bump_chunk() will move the entry to MRU
of L1.
For LRU there is a function adjust_lru() which does the similar job.
Question : The function adjust_lru() is only called if the flag
is LRU_REQ_INITIAL and that is happening only during unexport.
1. Can you please suggest how the entries in LRU queue are moving to MRU
of the queue?
2. How LRU entries are moved from L2 to L1 queue? from L1 to L2 is done
by the background thread.
Regards,
Gaurav Sharma