Re: [PATCH 1/4] block: add rq_flags to struct blk_mq_alloc_data

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

 



On 10/19/21 12:42 PM, Keith Busch wrote:
> On Tue, Oct 19, 2021 at 09:32:57AM -0600, Jens Axboe wrote:
>> There's a hole here we can use, and it's faster to set this earlier
> 
> <snip>
> 
>> @@ -148,6 +148,7 @@ struct blk_mq_alloc_data {
>>  	blk_mq_req_flags_t flags;
>>  	unsigned int shallow_depth;
>>  	unsigned int cmd_flags;
>> +	unsigned int rq_flags;
>>  
>>  	/* allocate multiple requests/tags in one go */
>>  	unsigned int nr_tags;
> 
> The patch looks good, but the new field doesn't appear to occupy a hole.

Yes, not sure how I missed the first flags. I'll cut that from the commit
message.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux