Skip to content

Commit

Permalink
block: warn when cfq is used
Browse files Browse the repository at this point in the history
Dump pending IO from cfq is not support, it may not deserve the effort
to support it since single queue is going away, leave a message to warn
users.

Signed-off-by: Junxiao Bi <[email protected]>
  • Loading branch information
biger410 authored and brenns10 committed Dec 4, 2023
1 parent 25bfb0d commit 6ae812c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drgn_tools/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ def for_each_sq_elevator_rq(q: Object) -> Iterable[Object]:
list2 = elevator_data.fifo_list[1].address_of_()
elif name == "cfq":
# TODO: implement this
print(
"queue 0x%lx: dump pending IO from cfq not supported!" % q.value_()
)
return []
else:
return []
Expand Down

0 comments on commit 6ae812c

Please sign in to comment.