tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git 
dev-test
head:   55c1de831d3eda713fb732eb92043b862f8033d6
commit: 55c1de831d3eda713fb732eb92043b862f8033d6 [13/13] f2fs: Add 
bggc_block_io to adjust the priority of BG_GC when issuing IO
config: s390-randconfig-002-20250806 
(https://download.01.org/0day-ci/archive/20250806/202508060732.lodufyrt-...@intel.com/config)
compiler: s390-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250806/202508060732.lodufyrt-...@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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202508060732.lodufyrt-...@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/f2fs/extent_cache.c:18:
   fs/f2fs/f2fs.h: In function 'is_idle':
>> fs/f2fs/f2fs.h:3051:24: error: 'struct f2fs_sb_info' has no member named 
>> 'bggc_block_io'
    3051 |                 if (sbi->bggc_block_io == READ_IO_PRIOR && 
is_inflight_read_io(sbi))
         |                        ^~
   fs/f2fs/f2fs.h:3053:24: error: 'struct f2fs_sb_info' has no member named 
'bggc_block_io'
    3053 |                 if (sbi->bggc_block_io == ALL_IO_PRIOR && 
is_inflight_io(sbi, type))
         |                        ^~


vim +3051 fs/f2fs/f2fs.h

  3041  
  3042  static inline bool is_idle(struct f2fs_sb_info *sbi, int type)
  3043  {
  3044          bool zoned_gc = (type == GC_TIME &&
  3045                          F2FS_HAS_FEATURE(sbi, F2FS_FEATURE_BLKZONED));
  3046  
  3047          if (sbi->gc_mode == GC_URGENT_HIGH)
  3048                  return true;
  3049  
  3050          if (zoned_gc) {
> 3051                  if (sbi->bggc_block_io == READ_IO_PRIOR && 
> is_inflight_read_io(sbi))
  3052                          return false;
  3053                  if (sbi->bggc_block_io == ALL_IO_PRIOR && 
is_inflight_io(sbi, type))
  3054                          return false;
  3055          } else {
  3056                  if (is_inflight_io(sbi, type))
  3057                          return false;
  3058          }
  3059  
  3060          if (sbi->gc_mode == GC_URGENT_MID)
  3061                  return true;
  3062  
  3063          if (sbi->gc_mode == GC_URGENT_LOW &&
  3064                          (type == DISCARD_TIME || type == GC_TIME))
  3065                  return true;
  3066  
  3067          if (zoned_gc)
  3068                  return true;
  3069  
  3070          return f2fs_time_over(sbi, type);
  3071  }
  3072  

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


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to