cache pool pieces

this is based on wip-tier and wip-promote-copies

some refactoring
create whiteouts
clear whiteouts on overwrite
ignore_overlay flag
cache_evict
cache_flush