Skip to content

Fix missing rw cache lookup when using combined ro+rw caches

Dmitry Osipenko requested to merge digetx/mesa:fix-combined-caches into main

When combining of ro+rw caches is enabled, at first the ro cache should be looked up and if data isn't found there then rw cache should be checked. The rw cache checking got lost by accident after the code rebase and there was no unit test covering this condition. Fix the rw cache looking up and add the unit test case.

Also document the MESA_DISK_CACHE_COMBINE_RW_WITH_RO_FOZ env var.

Fixes: !18551 (merged)

@tarceri @xexaxo @justonli @davidriley @endlesspring

Merge request reports