Hannes Reinecke
4734b5d72d
block: check for max_hw_sectors underflow
...
[ Upstream commit e993db2d6e5207f1ae061c2ac554ab1f714c741d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-11 12:51:22 +02:00
..
2024-05-30 09:44:10 +02:00
2023-12-23 18:38:08 -07:00
2024-04-26 11:01:28 -07:00
2024-02-05 10:07:22 -07:00
2024-02-05 10:07:22 -07:00
2023-04-06 16:17:32 -06:00
2023-01-29 15:18:33 -07:00
2024-02-12 08:49:31 -07:00
2024-03-11 11:43:44 -07:00
2023-06-01 09:13:31 -06:00
2023-02-14 14:24:09 -07:00
2022-07-14 12:14:30 -06:00
2024-06-12 11:39:37 +02:00
2024-04-07 15:50:13 -06:00
2024-05-30 09:44:10 +02:00
2024-02-06 14:31:05 +01:00
2023-03-16 09:35:09 -06:00
2023-07-05 16:36:12 -06:00
2023-02-09 09:38:16 -07:00
2023-03-16 09:35:09 -06:00
2024-06-21 14:40:24 +02:00
2023-02-09 09:38:16 -07:00
2024-02-12 08:49:31 -07:00
2023-06-07 07:51:00 -06:00
2024-04-19 08:06:24 -06:00
2024-02-05 10:07:22 -07:00
2023-06-06 22:26:26 -06:00
2022-09-26 19:09:31 -06:00
2024-03-13 20:35:48 -06:00
2024-01-23 08:56:55 -07:00
2024-05-30 09:44:10 +02:00
2023-04-13 06:52:29 -06:00
2022-07-06 06:46:26 -06:00
2024-01-17 14:16:34 -07:00
2022-06-17 07:31:05 -06:00
2023-04-13 06:52:29 -06:00
2024-01-17 14:16:34 -07:00
2023-05-18 19:42:54 -06:00
2023-04-13 06:52:29 -06:00
2023-06-26 12:47:20 -07:00
2023-04-13 06:52:29 -06:00
2024-05-30 09:44:10 +02:00
2023-09-22 08:52:13 -06:00
2023-11-20 10:22:40 -07:00
2021-02-22 06:33:48 -07:00
2023-09-18 14:15:28 -06:00
2023-12-01 18:29:18 -07:00
2024-07-11 12:51:22 +02:00
2024-03-06 08:31:54 -07:00
2021-12-14 17:23:05 -07:00
2024-02-13 08:56:59 -07:00
2024-02-05 10:16:12 -07:00
2023-08-30 10:15:01 -06:00
2020-07-31 16:29:47 -06:00
2024-03-11 11:43:44 -07:00
2023-12-26 09:28:10 -07:00
2024-02-22 10:35:18 -07:00
2024-05-30 09:44:10 +02:00
2024-02-06 14:31:05 +01:00
2024-02-13 08:56:59 -07:00
2023-06-30 11:57:07 -07:00
2023-10-28 13:29:23 +02:00
2023-06-22 09:09:33 -06:00
2023-08-19 07:47:17 -06:00
2023-04-13 06:52:30 -06:00
2024-05-30 09:44:10 +02:00
2024-05-30 09:44:10 +02:00
2024-02-23 07:44:19 -07:00
2024-06-27 13:52:12 +02:00
2024-01-08 12:27:39 -07:00
2023-11-18 14:59:25 +01:00
2023-01-30 09:42:42 -07:00
2023-04-13 06:52:30 -06:00
2023-06-05 10:57:40 -06:00
2024-03-13 15:56:14 -06:00
2024-02-16 15:52:45 -07:00
2024-06-21 14:40:24 +02:00
2024-02-12 08:49:31 -07:00