Re: [PATCH for-6.18/block 02/16] block: initialize bio issue time in blk_mq_submit_bio()

Yu Kuai
2025-09-08T01:32:17Z

Hi,

在 2025/09/07 15:57, Yu Kuai 写道:
>> If you fix the issue in a separate patch/commit (i.e. not just a new
>> version of
>> the same patch/commit), kindly add following tags
>> | Reported-by: kernel test robot <lkp@intel.com>
>> | Closes:
>> https://lore.kernel.org/oe-kbuild-all/202509062332.tqE0Bc8k-lkp@intel.com/
>>
>>
>> All errors (new ones prefixed by >>):
>>
>>     block/blk-mq.c: In function 'blk_mq_submit_bio':
>>>> block/blk-mq.c:3171:12: error: 'struct bio' has no member named
>>>> 'issue_time_ns'
>>      3171 |         bio->issue_time_ns = blk_time_get_ns();
>
> This should be included inside BLK_CGROUP config, sorry about this.
>

I should keep the blkcg_bio_issue_init() and call it here. I'll wait for
sometime and let people revice other patches before I send a new
version.

Thanks,
Kuai