On 09/13/2016 12:23 PM, Stephen Bates wrote:
While profiling the performance of the io_poll feature of the blk-mq section of the block layer I found it useful to add another entry to the io_poll stats counters. I also found it really useful to be able to zero the stats counters by echoing into the relevant sysfs entry. These two patches are based off commit 0eadf37afc in Jen's for-4.9/block. I am not sure if that is the right repo and can rebase if necessary. In full disclosure the zeroing patch is based heavily on a code snippet Jens send me a few months ago.
Thanks Stephen, added for 4.9. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html