The following figure shows the transitions between API-based disk states.