From: Jens Axboe Date: Tue, 20 May 2014 17:49:02 +0000 (-0600) Subject: blk-mq: allow changing of queue depth through sysfs X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~49^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3a2b3f931f59d5284abd13faf8bded726884ffd;p=pandora-kernel.git blk-mq: allow changing of queue depth through sysfs For request_fn based devices, the block layer exports a 'nr_requests' file through sysfs to allow adjusting of queue depth on the fly. Currently this returns -EINVAL for blk-mq, since it's not wired up. Wire this up for blk-mq, so that it now also always dynamic adjustments of the allowed queue depth for any given block device managed by blk-mq. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed