On Mon, May 20, 2024 at 04:48:31PM +0200, Mikulas Patocka wrote:
> dm-integrity could set discard_granularity lower than the logical block
> size. This could result in failures when sending discard requests to
> dm-integrity. This patch fixes discard_granularity.

What kernel was this reported on?  For current mainline,
blk_validate_limits should ensure that the discard_granularity is
floored by the logical block size.


Reply via email to