Re: [PATCH v2 03/10] blk-mq: move hctx->dispatch and ctx->rq_list from sysfs to debugfs

2017-01-27 Thread Bart Van Assche
On Wed, 2017-01-25 at 08:06 -0800, Omar Sandoval wrote: > +static void *hctx_dispatch_start(struct seq_file *m, loff_t *pos) > +{ > + struct blk_mq_hw_ctx *hctx = m->private; > + > + spin_lock(>lock); > + return seq_list_start(>dispatch, *pos); > +} > [ ... ] > +static void

[PATCH v2 03/10] blk-mq: move hctx->dispatch and ctx->rq_list from sysfs to debugfs

2017-01-25 Thread Omar Sandoval
From: Omar Sandoval These lists are only useful for debugging; they definitely don't belong in sysfs. Putting them in debugfs also removes the limitation of a single page of output. Reviewed-by: Hannes Reinecke Signed-off-by: Omar Sandoval ---