commit | 6e219353afa1f67f453141f7462b01708ebf5574 | [log] [tgz] |
---|---|---|
author | Stephen Bates <sbates@raithlin.com> | Tue Sep 13 12:23:15 2016 -0600 |
committer | Jens Axboe <axboe@fb.com> | Wed Sep 14 08:41:21 2016 -0600 |
tree | d09924891e887e970be9a18442bebc40d2ad64ee | |
parent | 0eadf37afc2500e1162c9040ec26a705b9af8d47 [diff] |
block: add poll_considered statistic In order to help determine the effectiveness of polling in a running system it is usful to determine the ratio of how often the poll function is called vs how often the completion is checked. For this reason we add a poll_considered variable and add it to the sysfs entry for io_poll. Signed-off-by: Stephen Bates <sbates@raithlin.com> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>