]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: move tags and sched_tags info from sysfs to debugfs
authorOmar Sandoval <osandov@fb.com>
Wed, 25 Jan 2017 16:06:46 +0000 (08:06 -0800)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 15:17:44 +0000 (08:17 -0700)
commit489f99c5301e219e1feeb258ab389dbaf08ff827
treec190352d85237bab561b905a1c16f0b4735ea9f7
parent09cd81f30122ca428b024a22f04f35b0df2d95f1
blk-mq: move tags and sched_tags info from sysfs to debugfs

These are very tied to the blk-mq tag implementation, so exposing them
to sysfs isn't a great idea. Move the debugging information to debugfs
and add basic entries for the number of tags and the number of reserved
tags to sysfs.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-debugfs.c
block/blk-mq-sysfs.c
block/blk-mq-tag.c
block/blk-mq-tag.h