whitespace
Don't check if the cache is full when resetting a cursor if a transaction is running.  The transaction will keep pages pinned anyway, it's better to let it commit, then there will be more pages available for eviction.
Improve the filtering of LRU pages: always take at least 10% of candidates, and use the adjusted read generation when calculating cutoffs.