Skip to contentSkip to conversation

blkparse extensions for PC requests

PATCH In review Christof Schmitt 2 participants 4 messages Jan 7, 2008 – Jan 14, 2008

lore
Share & tools
lore
#0 lore raw

cover blkparse extensions for PC requests

As a follow-up to the blktrace extension for SCSI generic device files, here are two patches that extend the tracing of PC requests in blkparse. When tracing I/O to SCSI tape drives, the I/O trace only contains PC requests. These extensions allow to get some more data from these traces.

Signature · 1 line
Christof Schmitt
#1 lore raw
Quoted 5 lines · Christof Schmitt

As a follow-up to the blktrace extension for SCSI generic device files, here are two patches that extend the tracing of PC requests in blkparse. When tracing I/O to SCSI tape drives, the I/O trace only contains PC requests. These extensions allow to get some more data from these traces.

Patches look fine, however should it just not default do this accounting? But only print the status fields, if we actually saw a PC request.

Signature · 1 line
Jens Axboe
#2 lore raw
In reply to Christof Schmitt
Quoted 3 lines · Jens Axboe

Patches look fine, however should it just not default do this accounting? But only print the status fields, if we actually saw a PC request.

My intent was to not change the data shown in the current summary output. But you are right, it makes more sense to simply output the PC summary when a PC request has been seen. I will post an updated patch that does this without the --pc flag.

Christof Schmitt

#3 lore raw
In reply to Christof Schmitt
Quoted 9 lines · Christof Schmitt
Quoted 3 lines · Jens Axboe

Patches look fine, however should it just not default do this accounting? But only print the status fields, if we actually saw a PC request.

My intent was to not change the data shown in the current summary output. But you are right, it makes more sense to simply output the PC summary when a PC request has been seen. I will post an updated patch that does this without the --pc flag.

Yep I think so. If you send a patch that does that, I'll apply it.

Signature · 1 line
Jens Axboe