John Garry fe3d508ba9 block: Validate logical block size in blk_validate_limits()
Some drivers validate that their own logical block size. It is no harm to
always do this, so validate in blk_validate_limits().

This allows us to remove the validation in most of those drivers.

Add a comment to blk_validate_block_size() to inform users that self-
validation of LBS is usually unnecessary.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240708091651.177447-3-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-07-09 00:00:17 -06:00
..
2024-05-20 15:18:34 -07:00
2024-05-27 13:47:14 +10:00
2024-05-22 10:49:54 -07:00
Hi,
2024-05-13 10:40:15 -07:00
2024-05-04 10:19:59 +02:00
2024-06-20 15:19:17 -06:00
2024-05-29 10:40:36 +02:00