tud-zih-energy / lo2s

Linux OTF2 Sampling - A Lightweight Node-Level Performance Monitoring Tool
https://tu-dresden.de/zih/forschung/projekte/lo2s?set_language=en
GNU General Public License v3.0
45 stars 13 forks source link

--block-io produces semantically wrong traces #288

Closed cvonelm closed 1 year ago

cvonelm commented 1 year ago

event->sector (the location) and event->nr_sector (the amount of sectors written) are switched up in the code (where one wants the location of a block I/O access, the nr_sector field is used and vice versa), resulting in nonsensical I/O events.

This issue is unrelated to the issue preventing lo2s from correctly capturing the activity of NVMe devices specifically(#290), which is not caused by lo2s incorrectly handling block I/O events, but most likely by NVMe devices (partially) bypassing the block layer.