Home
last modified time | relevance | path

Searched hist:bf0ddaba65ddbb2715af97041da8e7a45b2d8628 (Results 1 – 3 of 3) sorted by relevance

/linux/block/
H A Dblk-mq.hdiff bf0ddaba65ddbb2715af97041da8e7a45b2d8628 Thu Apr 26 09:21:59 CEST 2018 Omar Sandoval <osandov@fb.com> 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 <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
H A Dgenhd.cdiff bf0ddaba65ddbb2715af97041da8e7a45b2d8628 Thu Apr 26 09:21:59 CEST 2018 Omar Sandoval <osandov@fb.com> 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 <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
H A Dblk-mq.cdiff bf0ddaba65ddbb2715af97041da8e7a45b2d8628 Thu Apr 26 09:21:59 CEST 2018 Omar Sandoval <osandov@fb.com> 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 <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>