Skip to content

driver data: blktrace pass-through support for device

Martin Peschke linux-btrace linux-s390 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3driver data: add support to blktrace kernel codeinclude/linux/blktrace_api.h+32 -00 replies
2/3driver data: pass zfcp data through blktracedrivers/s390/scsi/zfcp_def.h drivers/s390/scsi/zfcp_fsf.c drivers/s390/scsi/zfcp_fsf.h +1 more+47 -00 replies
2/3driver data: pass zfcp data through blktracedrivers/s390/scsi/zfcp_def.h drivers/s390/scsi/zfcp_fsf.c drivers/s390/scsi/zfcp_fsf.h +1 more+49 -00 replies
3/3driver data: add support to blktrace user space codeact_mask.c blkparse.c blktrace_api.h+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Patch 0/3] driver data: blktrace pass-through support for device

Hi Jens,
may I ask what you think about this approach? Would you consider including the following patch series in blktrace?

Here is a discussion dating back to the first time I have posted these patches:
http://marc.info/?l=linux-btrace&m1620751101386&w=2

Thanks,
Martin

Low-level device drivers might have additional data which complements blktrace data. For example, zfcp, a SCSI HBA driver, is capable of obtaining additional latency information per request from HBAs. Those latencies allow to further break down the overall D2C request latency provided by blktrace.

We propose an additional trace for blktrace, called "driver data". It is a sort of small binary blob, which contains a low-level driver specific struct. Blktrace would be able to filter this trace (-a option) and include it within its binary output. A small device driver specific tool on top of blktrace would then analyze "driver data" traces.

Patch 1/3 makes the blktrace kernel code provide blk_add_driver_data() for use by device drivers.

Patch 2/3 adds support for driver data traces to blktrace tools.

Patch 3/3 makes zfcp provide additional request latency and queue utilization data through blktrace.

Patches are against scsi-misc and blktrace git.