add dm_sync_io_retry. dm_sync_io has argument thread :: bool now.