[PATCH] md: improve the interface to sync_request