Completed function cdi_cache_block_get().