block: Expose stacked device queues in sysfs
commitcd43e26f071524647e660706b784ebcbefbd2e44
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 22 May 2009 21:17:52 +0000 (22 17:17 -0400)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 22 May 2009 21:22:55 +0000 (22 23:22 +0200)
tree11625a25ba8a7c5cd4fe41b54d53506a7982433b
parent025146e13b63483add912706c101fb0fb6f015cc
block: Expose stacked device queues in sysfs

Currently stacking devices do not have a queue directory in sysfs.
However, many of the I/O characteristics like sector size, maximum
request size, etc. are queue properties.

This patch enables the queue directory for MD/DM devices.  The elevator
code has been modified to deal with queues that do not have an I/O
scheduler.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-sysfs.c
block/elevator.c