/* deadline_check_fifo returns 0 if there are no expired requests on the fifo, 1 otherwise. Requires !list_empty(&dd->fifo_list)  */
static int deadline_check_fifo(struct deadline_data *dd, int ddir)
/* deadline_check_fifo returns 0 if there are no expired requests on the fifo, 1 otherwise. Requires !list_empty(&dd->fifo_list)  */
static int deadline_check_fifo(struct deadline_data *dd, int ddir)
{
	struct request *rq = rq_entry_fifo(dd->fifo_list[ddir].next);
	if (time_after(jiffies, rq_fifo_time(rq)))
		return 1;
	return 0;
}