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

Mike Snitzer snitzer at redhat.com
Sat Apr 22 15:10:43 UTC 2017


On Fri, Apr 21 2017 at  6:43pm -0400,
Martin K. Petersen <martin.petersen at oracle.com> wrote:

> 
> 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.

Fair enough, I'll revise and send v2 shortly.  Thanks.




More information about the dm-devel mailing list