There is no global LRU maintained for block cache and that could turn out to be a problem for certain workloads. Pages are purged from block cache when usage is above limit, based on count tracking number of hits on it, but that does not account recently inserted pages. Figure out a better scheme possibly without adding more global locking.
There is no global LRU maintained for block cache and that could turn out to be a problem for certain workloads. Pages are purged from block cache when usage is above limit, based on count tracking number of hits on it, but that does not account recently inserted pages. Figure out a better scheme possibly without adding more global locking.