* [openeuler:OLK-5.10 3401/3401] fs/xfs/libxfs/xfs_alloc.c:91:1: warning: no previous prototype for 'xfs_ag_fixup_aside'
@ 2025-12-10 21:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-10 21:14 UTC (permalink / raw)
To: kernel, Long Li; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 41baca24098d5757f3aea4d98e63eb9d9f7d43a3
commit: 12a5c9f8f69c682f3aaf799a18f4a3631cc9bfbc [3401/3401] xfs: fix xfs shutdown since we reserve more blocks in agfl fixup
config: x86_64-randconfig-161-20251210 (https://download.01.org/0day-ci/archive/20251211/202512110538.DUkYagUT-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251211/202512110538.DUkYagUT-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/202512110538.DUkYagUT-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/xfs/libxfs/xfs_alloc.c:91:1: warning: no previous prototype for 'xfs_ag_fixup_aside' [-Wmissing-prototypes]
91 | xfs_ag_fixup_aside(
| ^~~~~~~~~~~~~~~~~~
vim +/xfs_ag_fixup_aside +91 fs/xfs/libxfs/xfs_alloc.c
83
84 /*
85 * Twice fixup for the same ag may happen within exact one tp, and the consume
86 * of agfl after first fixup may trigger second fixup's failure, then xfs will
87 * shutdown. To avoid that, we reserve blocks which can satisfy the second
88 * fixup.
89 */
90 xfs_extlen_t
> 91 xfs_ag_fixup_aside(
92 struct xfs_mount *mp)
93 {
94 xfs_extlen_t ret;
95
96 ret = 2 * mp->m_ag_maxlevels;
97 if (xfs_has_rmapbt(mp))
98 ret += mp->m_rmap_maxlevels;
99
100 return ret;
101 }
102
--
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:[~2025-12-10 21:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-10 21:14 [openeuler:OLK-5.10 3401/3401] fs/xfs/libxfs/xfs_alloc.c:91:1: warning: no previous prototype for 'xfs_ag_fixup_aside' 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.