[PATCH 02/16] block: add blk_queue_zone_aligned and bdev_zone_aligned helper

Pankaj Raghav p.raghav at samsung.com
Thu Apr 28 08:33:34 PDT 2022


On 2022-04-28 01:52, Bart Van Assche wrote:
> On 4/27/22 09:02, Pankaj Raghav wrote:
>> +static inline bool bdev_zone_aligned(struct block_device *bdev,
>> sector_t sec)
>> +{
>> +    struct request_queue *q = bdev_get_queue(bdev);
>> +
>> +    if (q)
>> +        return blk_queue_zone_aligned(q, sec);
>> +    return false;
>> +}
> 
> Which patch uses this function? I can't find any patch in this series
> that introduces a call to this function.
> 
Initially I used it but at the end I had to remove that patch but I
forgot to remove this function. Thanks for pointing it out. I will fix
it up in the next rev.
> Thanks,
> 
> Bart.
> 
> 



More information about the Linux-nvme mailing list