One or more aspects of the present disclosure relate to extending the endurance of flash media. In embodiments, an input/output (IO) workload can be received at a storage array. In addition, one or more characteristics of each write-IO in the IO workload can be determined. Further, for each write-IO, a portion of a storage device of a plurality of storage devices can be dynamically allocated based on the one or more characteristics and an endurance level of each of the plurality of storage devices.