]> git.karo-electronics.de Git - karo-tx-linux.git/commit
block: Initialize max_dev_sectors to 0
authorKeith Busch <keith.busch@intel.com>
Wed, 10 Feb 2016 23:52:47 +0000 (16:52 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 11 Feb 2016 20:10:39 +0000 (13:10 -0700)
commit5f009d3f8e6685fe8c6215082c1696a08b411220
tree9d0f35691d25417215842d2873d6dd9fdd69dc2f
parenta514379b0c77085074abf01c525a850f6d99926e
block: Initialize max_dev_sectors to 0

The new queue limit is not used by the majority of block drivers, and
should be initialized to 0 for the driver's requested settings to be used.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-settings.c