Hannes Reinecke e993db2d6e block: check for max_hw_sectors underflow
The logical block size need to be smaller than the max_hw_sector
setting, otherwise we can't even transfer a single LBA.

Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-05-28 06:55:23 -06:00
..
2024-05-21 13:02:56 -07:00
2024-05-21 13:02:56 -07:00
2024-05-14 17:25:36 -07:00
2024-05-23 13:44:47 -07:00
2023-06-26 12:47:20 -07:00
2024-05-23 13:44:47 -07:00
2024-03-11 11:43:44 -07:00
2024-05-21 13:02:56 -07:00
2024-05-21 09:51:42 -07:00
2023-06-30 11:57:07 -07:00
2024-05-21 09:51:42 -07:00
2024-05-21 13:02:56 -07:00
2024-05-21 13:02:56 -07:00
2024-03-11 11:43:44 -07:00