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

2017-06-16 Thread Jens Axboe
On 06/16/2017 10:38 AM, Martin K. Petersen wrote: > > Jens, > >> 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

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

2017-06-16 Thread Martin K. Petersen
Jens, > 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

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

2017-06-15 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.