tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git dev-test head: 55b056f09eae9455fa67c621a05ee5c4053da974 commit: 41cc0ba1214fb40a69e21acafc0e8ace49734653 [8/9] f2fs: introduce sb.required_features to store incompatible features config: arc-randconfig-r043-20211028 (attached as .config) compiler: arceb-elf-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?id=41cc0ba1214fb40a69e21acafc0e8ace49734653 git remote add chao https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git git fetch --no-tags chao dev-test git checkout 41cc0ba1214fb40a69e21acafc0e8ace49734653 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): fs/f2fs/extent_cache.c: In function '__f2fs_init_extent_tree': >> fs/f2fs/extent_cache.c:370:14: error: implicit declaration of function 'f2fs_may_extent_tree'; did you mean 'f2fs_drop_extent_tree'? [-Werror=implicit-function-declaration] 370 | if (!f2fs_may_extent_tree(inode)) { | ^~~~~~~~~~~~~~~~~~~~ | f2fs_drop_extent_tree cc1: some warnings being treated as errors vim +370 fs/f2fs/extent_cache.c a28ef1f5aebe10 Chao Yu 2015-07-08 360 ed3d12561a731b Jaegeuk Kim 2015-12-28 361 /* return true, if inode page is changed */ a6d601f30d3bae Chao Yu 2020-06-28 362 static void __f2fs_init_extent_tree(struct inode *inode, struct page *ipage) a28ef1f5aebe10 Chao Yu 2015-07-08 363 { a28ef1f5aebe10 Chao Yu 2015-07-08 364 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); a6d601f30d3bae Chao Yu 2020-06-28 365 struct f2fs_extent *i_ext = ipage ? &F2FS_INODE(ipage)->i_ext : NULL; a28ef1f5aebe10 Chao Yu 2015-07-08 366 struct extent_tree *et; a28ef1f5aebe10 Chao Yu 2015-07-08 367 struct extent_node *en; a28ef1f5aebe10 Chao Yu 2015-07-08 368 struct extent_info ei; a28ef1f5aebe10 Chao Yu 2015-07-08 369 ed3d12561a731b Jaegeuk Kim 2015-12-28 @370 if (!f2fs_may_extent_tree(inode)) { ed3d12561a731b Jaegeuk Kim 2015-12-28 371 /* drop largest extent */ ed3d12561a731b Jaegeuk Kim 2015-12-28 372 if (i_ext && i_ext->len) { a6d601f30d3bae Chao Yu 2020-06-28 373 f2fs_wait_on_page_writeback(ipage, NODE, true, true); ed3d12561a731b Jaegeuk Kim 2015-12-28 374 i_ext->len = 0; a6d601f30d3bae Chao Yu 2020-06-28 375 set_page_dirty(ipage); a6d601f30d3bae Chao Yu 2020-06-28 376 return; ed3d12561a731b Jaegeuk Kim 2015-12-28 377 } a6d601f30d3bae Chao Yu 2020-06-28 378 return; ed3d12561a731b Jaegeuk Kim 2015-12-28 379 } a28ef1f5aebe10 Chao Yu 2015-07-08 380 a28ef1f5aebe10 Chao Yu 2015-07-08 381 et = __grab_extent_tree(inode); a28ef1f5aebe10 Chao Yu 2015-07-08 382 ed3d12561a731b Jaegeuk Kim 2015-12-28 383 if (!i_ext || !i_ext->len) a6d601f30d3bae Chao Yu 2020-06-28 384 return; a28ef1f5aebe10 Chao Yu 2015-07-08 385 bd933d4faedf3a Chao Yu 2016-05-04 386 get_extent_info(&ei, i_ext); a28ef1f5aebe10 Chao Yu 2015-07-08 387 a28ef1f5aebe10 Chao Yu 2015-07-08 388 write_lock(&et->lock); 68e353851002dc Chao Yu 2016-01-08 389 if (atomic_read(&et->node_cnt)) a28ef1f5aebe10 Chao Yu 2015-07-08 390 goto out; a28ef1f5aebe10 Chao Yu 2015-07-08 391 a6f7834594a284 Chao Yu 2015-08-19 392 en = __init_extent_tree(sbi, et, &ei); a28ef1f5aebe10 Chao Yu 2015-07-08 393 if (en) { a28ef1f5aebe10 Chao Yu 2015-07-08 394 spin_lock(&sbi->extent_lock); a28ef1f5aebe10 Chao Yu 2015-07-08 395 list_add_tail(&en->list, &sbi->extent_list); a28ef1f5aebe10 Chao Yu 2015-07-08 396 spin_unlock(&sbi->extent_lock); a28ef1f5aebe10 Chao Yu 2015-07-08 397 } a28ef1f5aebe10 Chao Yu 2015-07-08 398 out: a28ef1f5aebe10 Chao Yu 2015-07-08 399 write_unlock(&et->lock); a28ef1f5aebe10 Chao Yu 2015-07-08 400 } a28ef1f5aebe10 Chao Yu 2015-07-08 401 :::::: The code at line 370 was first introduced by commit :::::: ed3d12561a731b99b58c6c95151291cebf0b3feb f2fs: load largest extent all the time :::::: TO: Jaegeuk Kim :::::: CC: Jaegeuk Kim --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org