Re: [PATCH 8/8] block: move dma_pad_mask into queue_limits

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

 



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





[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux