block: introduce blk_init_flush and its pair