Re: [PATCH] dm-integrity: set discard_granularity to logical block size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux