On 05/04/2017 09:31 AM, Omar Sandoval wrote: > From: Omar Sandoval <osandov@xxxxxx> > > This provides the infrastructure for schedulers to expose their internal > state through debugfs. We add a list of queue attributes and a list of > hctx attributes to struct elevator_type and wire them up when switching > schedulers. > > Signed-off-by: Omar Sandoval <osandov@xxxxxx> > --- > block/blk-mq-debugfs.c | 74 ++++++++++++++++++++++++++++++++++++++++++------ > block/blk-mq-debugfs.h | 34 ++++++++++++++++++++++ > block/blk-mq-sched.c | 24 ++++++++++------ > include/linux/blk-mq.h | 1 + > include/linux/blkdev.h | 1 + > include/linux/elevator.h | 7 +++++ > 6 files changed, 124 insertions(+), 17 deletions(-) > 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)