On 6/25/24 23:59, Christoph Hellwig wrote: > dma_pad_mask is a queue_limits by all ways of looking at it, so move it > there and set it through the atomic queue limits APIs. > > Add a little helper that takes the alignment and pad into account to > simply the code that is touched a bit. s/simply/simplify > Note that there never was any need for the > check in > blk_queue_update_dma_pad, this probably was just copy and paste from > dma_update_dma_alignment. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx> -- Damien Le Moal Western Digital Research