On Thu, 20 Jun 2024 11:06:31 +0800, Ming Lei wrote:
IO logical block size is one fundamental queue limit, and every IO has to be aligned with logical block size because our bio split can't deal with unaligned bio.
The check has to be done with queue usage counter grabbed because device reconfiguration may change logical block size, and we can prevent the reconfiguration from happening by holding queue usage counter.
[...]
Applied, thanks!
[1/1] block: check bio alignment in blk_mq_submit_bio commit: 0676c434a99be42f3bacca4adfd27df65edbf903
Best regards,