[dm-devel] [PATCH for-4.12] block, dm: use __blk_integrity_register to properly setup integrity profile

Martin K. Petersen martin.petersen at oracle.com
Fri Apr 21 22:43:56 UTC 2017


Mike/Mikulas,

> Introduce __blk_integrity_register() to allow users more precise control
> over the logical block size used to register the integrity profile.
> blk_integrity_register() now calls __blk_integrity_register().

This seems a bit kludgy. It would be cleaner having the integrity
interval be explicitly specified in the integrity template for all
callers. Maybe with a fallback to qlbs if it's set to 0.

-- 
Martin K. Petersen	Oracle Linux Engineering




More information about the dm-devel mailing list