block: Export max number of segments and max segment size in sysfs
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 10 Mar 2010 05:48:33 +0000 (00:48 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 15 Mar 2010 11:48:00 +0000 (12:48 +0100)
commitc77a5710b7e23847bfdb81fcaa10b585f65c960a
tree52a09887c6396d71545e321f508a511cfb9cdb0f
parentee714f2dd33e726346e34f5cda12543162f4753e
block: Export max number of segments and max segment size in sysfs

These two values are useful when debugging issues surrounding maximum
I/O size.  Put them in sysfs with the rest of the queue limits.

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