Re: [PATCH 02/11] blk-mq: expose stream write stats through debugfs

2017-06-15 Thread Jens Axboe
On 06/15/2017 02:16 AM, Christoph Hellwig wrote: > On Wed, Jun 14, 2017 at 09:45:03PM -0600, Jens Axboe wrote: >> Useful to verify that things are working the way they should. >> Reading the file will return number of kb written to each >> stream. Writing the file will reset the statistics. No care

Re: [PATCH 02/11] blk-mq: expose stream write stats through debugfs

2017-06-15 Thread Christoph Hellwig
On Wed, Jun 14, 2017 at 09:45:03PM -0600, Jens Axboe wrote: > Useful to verify that things are working the way they should. > Reading the file will return number of kb written to each > stream. Writing the file will reset the statistics. No care > is taken to ensure that we don't race on updates. >

[PATCH 02/11] blk-mq: expose stream write stats through debugfs

2017-06-14 Thread Jens Axboe
Useful to verify that things are working the way they should. Reading the file will return number of kb written to each stream. Writing the file will reset the statistics. No care is taken to ensure that we don't race on updates. Drivers will write to q->stream_writes[] if they handle a stream. R

[PATCH 02/11] blk-mq: expose stream write stats through debugfs

2017-06-14 Thread Jens Axboe
Useful to verify that things are working the way they should. Reading the file will return number of kb written to each stream. Writing the file will reset the statistics. No care is taken to ensure that we don't race on updates. Drivers will write to q->stream_writes[] if they handle a stream. R