Staging: use new REQ_FLUSH flag, fix build breakage