summaryrefslogtreecommitdiffstats
path: root/block/bfq-iosched.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2018-12-17 18:42:48 +0800
committerJens Axboe <axboe@kernel.dk>2018-12-17 05:44:45 -0700
commit346fc1089e5d4734990b4b6c3cd0cdeae9ae482d (patch)
treeeca212d47c41b63d2b7b8bc74475442181843141 /block/bfq-iosched.h
parent07b35eb5a364fa59f88f65e6c786192f2c9163be (diff)
downloadtalos-obmc-linux-346fc1089e5d4734990b4b6c3cd0cdeae9ae482d.tar.gz
talos-obmc-linux-346fc1089e5d4734990b4b6c3cd0cdeae9ae482d.zip
blk-mq: export hctx->type in debugfs instead of sysfs
Now we only export hctx->type via sysfs, and there isn't such info in hctx entry under debugfs. We often use debugfs only to diagnose queue mapping issue, so add the support in debugfs. Queue mapping becomes a bit more complicated after multiple queue mapping is supported, we may write blktest to verify if queue mapping is valid based on blk-mq-debugfs. Given not necessary to export hctx->type twice, so remove the export from sysfs. Cc: Jeff Moyer <jmoyer@redhat.com> Cc: Mike Snitzer <snitzer@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud