Skip to contentSkip to conversation

creation of blktrace completion messages

DISCUSSION Matthias Brugger 1 participant 2 messages Jan 18, 2012 – Feb 2, 2012

lore
Share & tools
lore
#0 lore raw

Hi all,

where does the kernel create the blktrace completion messages?

Is it done in the interrupt routine or in the block layer.

I just found:
register_trace_block_rq_complete(blk_add_trace_rq_complete, NULL); and register_trace_block_bio_complete(blk_add_trace_bio_complete, NULL);

But I don't find the corresponding functions.

Thanks,
Matthias

---
http://motzblog.wordpress.com/

#1 lore raw
Quoted 3 lines · Matthias Brugger

Hi all,

where does the kernel create the blktrace completion messages?

the mesage is created in block/blk-core.c:blk_update_request which calls trace_block_rq_complete

Quoted 15 lines

Is it done in the interrupt routine or in the block layer.

I just found:
register_trace_block_rq_complete(blk_add_trace_rq_complete, NULL); and register_trace_block_bio_complete(blk_add_trace_bio_complete, NULL);

But I don't find the corresponding functions.

Thanks,
Matthias

---
http://motzblog.wordpress.com/

Signature · 2 lines
---
http://motzblog.wordpress.com/