Re: [PATCH 3/9] blk-mq: expose write hints through debugfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/27/2017 09:17 AM, Christoph Hellwig wrote:
> On Mon, Jun 26, 2017 at 09:37:54AM -0600, Jens Axboe wrote:
>> Useful to verify that things are working the way they should.
>> Reading the file will return number of kb written with each
>> write hint. 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->write_hints[] if they handle a given
>> write hint.
> 
> How about moving the accounting itself to blk-mq as well?  Just noticed
> that it's completely generic while looking over the nvme patch.

I didn't want to do it, unless the driver is using streams.


-- 
Jens Axboe




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux