sg: convert the non-data path to use the block layer