Seperate read and write statistics of in_flight requests
Currently, there is a single in_flight counter measuring the number of requests in the request_queue. But some monitoring tools would like to know how many read requests and write requests are in progress. Split the current in_flight counter into two seperate counters for read and write. This information is exported as a sysfs attribute, as changing the currently available stat files would break the existing tools. Signed-off-by:Nikanth Karthikesan <knikanth@suse.de> Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
Showing
- block/blk-core.c 3 additions, 3 deletionsblock/blk-core.c
- block/blk-merge.c 1 addition, 1 deletionblock/blk-merge.c
- block/genhd.c 3 additions, 1 deletionblock/genhd.c
- drivers/md/dm.c 10 additions, 6 deletionsdrivers/md/dm.c
- fs/partitions/check.c 11 additions, 1 deletionfs/partitions/check.c
- include/linux/genhd.h 14 additions, 7 deletionsinclude/linux/genhd.h
Loading
Please register or sign in to comment