Displaying 1 result from an estimated 1 matches for "bio_get_ioprio".
2008 Sep 10
0
[RFC][PATCH -mm] blktrace: adds ioprio to blktrace
...to schedule block I/O. But recently, some are suggesting to
use more appropriate io_contexts obtained by, for example, doing
io-tracking, making struct bio have io_context member, etc. I thought
adding ioprio to blktrace output might be helpful.
Implementation:
1. I used req_get_ioprio() and [new]bio_get_ioprio() to get ioprio.
Currently bio_get_ioprio just returns current->io_context->ioprio.
Appreciate any comments:
Does this kind of information helpful?
Thanks,
Takuya Yoshikawa
Example:
8,16 0 1 0.000000000 2664 Q R ioprio=16386 81920 + 8 [tiotest]
8,16 0...