Re: [PATCH 01/10] blk-mq: create debugfs directory tree

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

 



On 01/23/2017 07:59 PM, Omar Sandoval wrote:
> From: Omar Sandoval <osandov@xxxxxx>
> 
> In preparation for putting blk-mq debugging information in debugfs,
> create a directory tree mirroring the one in sysfs:
> 
>     # tree -d /sys/kernel/debug/block
>     /sys/kernel/debug/block
>     |-- nvme0n1
>     |   `-- mq
>     |       |-- 0
>     |       |   `-- cpu0
>     |       |-- 1
>     |       |   `-- cpu1
>     |       |-- 2
>     |       |   `-- cpu2
>     |       `-- 3
>     |           `-- cpu3
>     `-- vda
>         `-- mq
>             `-- 0
>                 |-- cpu0
>                 |-- cpu1
>                 |-- cpu2
>                 `-- cpu3
> 
> Also add the scaffolding for the actual files that will go in here,
> either under the hardware queue or software queue directories.
> 
> Signed-off-by: Omar Sandoval <osandov@xxxxxx>
> ---
>  block/Makefile         |   1 +
>  block/blk-mq-debugfs.c | 152 +++++++++++++++++++++++++++++++++++++++++++++++++
>  block/blk-mq-sysfs.c   |   8 +++
>  block/blk-mq.c         |   2 +
>  block/blk-mq.h         |  33 +++++++++++
>  include/linux/blkdev.h |   5 ++
>  6 files changed, 201 insertions(+)
>  create mode 100644 block/blk-mq-debugfs.c
> 
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@xxxxxxx			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
--
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



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux