All of lore.kernel.org
 help / color / mirror / Atom feed
* [chao:wip 4/4] fs/f2fs/data.c:615:61: error: 'struct f2fs_bio_info' has no member named 'zone_wait'
@ 2024-03-17 19:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-17 19:00 UTC (permalink / raw)
  To: Chao Yu, Chao Yu; +Cc: oe-kbuild-all, Chao Yu, Chao Yu

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git wip
head:   5d1d1ce6987e9ad0cf26ca1071a94aadbb5c2a83
commit: 5d1d1ce6987e9ad0cf26ca1071a94aadbb5c2a83 [4/4] f2fs: zone: don't block IO if there is remained open zone
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20240318/202403180211.RyitU8RO-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240318/202403180211.RyitU8RO-lkp@intel.com/reproduce)

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/202403180211.RyitU8RO-lkp@intel.com/

All errors (new ones prefixed by >>):

   fs/f2fs/data.c: In function 'f2fs_init_write_merge_io':
>> fs/f2fs/data.c:615:61: error: 'struct f2fs_bio_info' has no member named 'zone_wait'
     615 |                         init_completion(&sbi->write_io[i][j].zone_wait);
         |                                                             ^
>> fs/f2fs/data.c:616:44: error: 'struct f2fs_bio_info' has no member named 'zone_pending_bio'
     616 |                         sbi->write_io[i][j].zone_pending_bio = NULL;
         |                                            ^


vim +615 fs/f2fs/data.c

0fd785eb931d25 Chao Yu     2016-01-18  591  
908ea6541661d7 Yufen Yu    2022-05-25  592  int f2fs_init_write_merge_io(struct f2fs_sb_info *sbi)
908ea6541661d7 Yufen Yu    2022-05-25  593  {
908ea6541661d7 Yufen Yu    2022-05-25  594  	int i;
908ea6541661d7 Yufen Yu    2022-05-25  595  
908ea6541661d7 Yufen Yu    2022-05-25  596  	for (i = 0; i < NR_PAGE_TYPE; i++) {
908ea6541661d7 Yufen Yu    2022-05-25  597  		int n = (i == META) ? 1 : NR_TEMP_TYPE;
908ea6541661d7 Yufen Yu    2022-05-25  598  		int j;
908ea6541661d7 Yufen Yu    2022-05-25  599  
908ea6541661d7 Yufen Yu    2022-05-25  600  		sbi->write_io[i] = f2fs_kmalloc(sbi,
908ea6541661d7 Yufen Yu    2022-05-25  601  				array_size(n, sizeof(struct f2fs_bio_info)),
908ea6541661d7 Yufen Yu    2022-05-25  602  				GFP_KERNEL);
908ea6541661d7 Yufen Yu    2022-05-25  603  		if (!sbi->write_io[i])
908ea6541661d7 Yufen Yu    2022-05-25  604  			return -ENOMEM;
908ea6541661d7 Yufen Yu    2022-05-25  605  
908ea6541661d7 Yufen Yu    2022-05-25  606  		for (j = HOT; j < n; j++) {
908ea6541661d7 Yufen Yu    2022-05-25  607  			init_f2fs_rwsem(&sbi->write_io[i][j].io_rwsem);
908ea6541661d7 Yufen Yu    2022-05-25  608  			sbi->write_io[i][j].sbi = sbi;
908ea6541661d7 Yufen Yu    2022-05-25  609  			sbi->write_io[i][j].bio = NULL;
908ea6541661d7 Yufen Yu    2022-05-25  610  			spin_lock_init(&sbi->write_io[i][j].io_lock);
908ea6541661d7 Yufen Yu    2022-05-25  611  			INIT_LIST_HEAD(&sbi->write_io[i][j].io_list);
908ea6541661d7 Yufen Yu    2022-05-25  612  			INIT_LIST_HEAD(&sbi->write_io[i][j].bio_list);
908ea6541661d7 Yufen Yu    2022-05-25  613  			init_f2fs_rwsem(&sbi->write_io[i][j].bio_list_lock);
e067dc3c6b9c41 Daeho Jeong 2023-05-03  614  #ifdef CONFIG_BLK_DEV_ZONED
e067dc3c6b9c41 Daeho Jeong 2023-05-03 @615  			init_completion(&sbi->write_io[i][j].zone_wait);
e067dc3c6b9c41 Daeho Jeong 2023-05-03 @616  			sbi->write_io[i][j].zone_pending_bio = NULL;
e067dc3c6b9c41 Daeho Jeong 2023-05-03  617  			sbi->write_io[i][j].bi_private = NULL;
e067dc3c6b9c41 Daeho Jeong 2023-05-03  618  #endif
908ea6541661d7 Yufen Yu    2022-05-25  619  		}
908ea6541661d7 Yufen Yu    2022-05-25  620  	}
908ea6541661d7 Yufen Yu    2022-05-25  621  
908ea6541661d7 Yufen Yu    2022-05-25  622  	return 0;
908ea6541661d7 Yufen Yu    2022-05-25  623  }
908ea6541661d7 Yufen Yu    2022-05-25  624  

:::::: The code at line 615 was first introduced by commit
:::::: e067dc3c6b9c419bac43c6a0be2d85f44681f863 f2fs: maintain six open zones for zoned devices

:::::: TO: Daeho Jeong <daehojeong@google.com>
:::::: CC: Jaegeuk Kim <jaegeuk@kernel.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-17 19:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-17 19:00 [chao:wip 4/4] fs/f2fs/data.c:615:61: error: 'struct f2fs_bio_info' has no member named 'zone_wait' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.