PING: [PATCH] block: add io_error stat for block device

2020-10-21 Thread zhenwei pi
Hi, Jens What do you think about this, adding io error stat for block devices is reasonable? On 9/10/20 10:20 AM, zhenwei pi wrote: Currently if hitting block req error, block layer only prints error log with a rate limitation. Then agent has to parse kernel log to record what happens. In th

PING: [PATCH] block: add io_error stat for block device

2020-09-24 Thread zhenwei pi
Hi, Jens How do you think about error stat of a block device? On 9/10/20 10:20 AM, zhenwei pi wrote: Currently if hitting block req error, block layer only prints error log with a rate limitation. Then agent has to parse kernel log to record what happens. In this patch, add read/write/discard/

[PATCH] block: add io_error stat for block device

2020-09-09 Thread zhenwei pi
Currently if hitting block req error, block layer only prints error log with a rate limitation. Then agent has to parse kernel log to record what happens. In this patch, add read/write/discard/flush stat counter to record io errors. Signed-off-by: zhenwei pi --- block/blk-core.c | 14 +