* bfq io scheduler fifo_expire_sync have no function
@ 2023-07-19 13:35 Zhang Bo
0 siblings, 0 replies; only message in thread
From: Zhang Bo @ 2023-07-19 13:35 UTC (permalink / raw)
To: linux-kernel, linux-block; +Cc: paolo.valente, axboe
In bfq_check_fifo(...) function, bfq_bfqq_fifo_expire(bfqq) is checked at first, and then bfq_mark_bfqq_fifo_expire(bfqq) later.
I think bfq_check_fifo return NULL because of bfq_bfqq_fifo_expire(bfqq) return true. So expired request is not dispatch.
Could any one explain this problem?
static struct request *bfq_check_fifo(struct bfq_queue *bfqq,
struct request *last)
{
struct request *rq;
if (bfq_bfqq_fifo_expire(bfqq)) {
return NULL;
}
bfq_mark_bfqq_fifo_expire(bfqq);
...................
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-19 13:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-19 13:35 bfq io scheduler fifo_expire_sync have no function Zhang Bo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome