Skip to contentSkip to conversation

query on blk_rq_timed_out

DISCUSSION Muneendra Kumar M 1 participant 2 messages Mar 29, 2018 1 message not in the archive Block layer

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi ,
If we call submit_bio/blk_execute_rq and due to some target issues we hit the blk_rq_timed_out.

In blk_rq_timed_out=C2=A0=C2=A0 =C2=A0__blk_complete_request =C2=A0gets cal= led only in
BLK_EH_HANDLED case and if q->rq_timed_out_fn doesn=E2=80=99t return BLK_EH_HANDLED
and returns only BLK_EH_NOT_HANDLED/ BLK_EH_RESET_TIMER.

How will the submit_bio/blk_execute_rq returns from it wait state ? Will we see the hungtask in this case?

Any help regarding this will help me a lot .

Regards,
Muneendra.

#2 lore raw
In reply to a message not in the archive

Hi ,
If we call submit_bio/blk_execute_rq and due to some target issues we hit the blk_rq_timed_out.

In blk_rq_timed_out=C2=A0=C2=A0 =C2=A0__blk_complete_request =C2=A0gets cal= led only in
BLK_EH_HANDLED case and if q->rq_timed_out_fn doesn=E2=80=99t return BLK_EH_HANDLED
and returns only BLK_EH_NOT_HANDLED/ BLK_EH_RESET_TIMER.

How will the submit_bio/blk_execute_rq returns from it wait state ? Will we see the hungtask in this case?

Any help regarding this will help me a lot .

Regards,
Muneendra.