block: Do not clamp max_hw_sectors for stacking devices
authorMartin K. Petersen <martin.petersen@oracle.com>
Mon, 21 Sep 2009 19:46:05 +0000 (21:46 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 1 Oct 2009 19:15:45 +0000 (21:15 +0200)
commit5dee2477df5368368b7dba810a17a3c411a1d0f0
tree24897963e1e81c9a300633d69f03aa0cb81c90a7
parent80ddf247c84fbd7f4371dd15bbbff0adb44a8708
block: Do not clamp max_hw_sectors for stacking devices

Stacking devices do not have an inherent max_hw_sector limit.  Set the
default to INT_MAX so we are bounded only by capabilities of the
underlying storage.

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