diff options
| author | Omar Sandoval <[email protected]> | 2018-04-26 00:21:59 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-04-26 09:02:01 -0600 |
| commit | bf0ddaba65ddbb2715af97041da8e7a45b2d8628 (patch) | |
| tree | 42ecea860351829817753e8ce2c4205a8aaff8b1 /drivers/pci/hotplug/ibmphp.h | |
| parent | 6131837b1de66116459ef4413e26fdbc70d066dc (diff) | |
blk-mq: fix sysfs inflight counter
When the blk-mq inflight implementation was added, /proc/diskstats was
converted to use it, but /sys/block/$dev/inflight was not. Fix it by
adding another helper to count in-flight requests by data direction.
Fixes: f299b7c7a9de ("blk-mq: provide internal in-flight variant")
Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
0 files changed, 0 insertions, 0 deletions