Tune deadline for flash device