obvious optimization to metadata vfs function -- use cache.