Re: [PATCH 07/10] blk-mq: move tags and sched_tags info from sysfs to debugfs
From: Hannes Reinecke <hare@suse.de>
Date: 2017-01-24 13:29:40
From: Hannes Reinecke <hare@suse.de>
Date: 2017-01-24 13:29:40
On 01/23/2017 07:59 PM, Omar Sandoval wrote:
From: Omar Sandoval <redacted> 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. Signed-off-by: Omar Sandoval <redacted> --- block/blk-mq-debugfs.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++ block/blk-mq-sysfs.c | 33 ++++++++++++------------ block/blk-mq-tag.c | 27 ------------------- block/blk-mq-tag.h | 1 - 4 files changed, 86 insertions(+), 45 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +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)