Caching disk checks to improve performance