Tune deadline for flash devices