driver data: blktrace pass-through support for device
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | driver data: add support to blktrace kernel codeinclude/ | +32 | 0 replies | |
| 2/3 | driver data: pass zfcp data through blktracedrivers/ drivers/ drivers/ +1 more | +47 | 0 replies | |
| 2/3 | driver data: pass zfcp data through blktracedrivers/ drivers/ drivers/ +1 more | +49 | 0 replies | |
| 3/3 | driver data: add support to blktrace user space codeact_mask.c blkparse.c blktrace_api.h | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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.