From: kernel test robot <lkp@intel.com>
To: Hans Holmberg <Hans.Holmberg@wdc.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Carlos Maiolino <cem@kernel.org>, Christoph Hellwig <hch@lst.de>
Subject: fs/xfs/xfs_zone_gc.c:186: undefined reference to `__divmoddi4'
Date: Fri, 18 Apr 2025 12:23:44 +0800 [thread overview]
Message-ID: <202504181233.F7D9Atra-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fc96b232f8e7c0a6c282f47726b2ff6a5fb341d2
commit: 845abeb1f06a8a44e21314460eeb14cddfca52cc xfs: add tunable threshold parameter for triggering zone GC
date: 4 days ago
config: i386-buildonly-randconfig-004-20250418 (https://download.01.org/0day-ci/archive/20250418/202504181233.F7D9Atra-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250418/202504181233.F7D9Atra-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/202504181233.F7D9Atra-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: fs/xfs/xfs_zone_gc.o: in function `xfs_zoned_need_gc':
>> fs/xfs/xfs_zone_gc.c:186: undefined reference to `__divmoddi4'
>> ld: fs/xfs/xfs_zone_gc.c:186: undefined reference to `__divdi3'
vim +186 fs/xfs/xfs_zone_gc.c
162
163 /*
164 * We aim to keep enough zones free in stock to fully use the open zone limit
165 * for data placement purposes. Additionally, the m_zonegc_low_space tunable
166 * can be set to make sure a fraction of the unused blocks are available for
167 * writing.
168 */
169 bool
170 xfs_zoned_need_gc(
171 struct xfs_mount *mp)
172 {
173 s64 available, free;
174
175 if (!xfs_group_marked(mp, XG_TYPE_RTG, XFS_RTG_RECLAIMABLE))
176 return false;
177
178 available = xfs_estimate_freecounter(mp, XC_FREE_RTAVAILABLE);
179
180 if (available <
181 mp->m_groups[XG_TYPE_RTG].blocks *
182 (mp->m_max_open_zones - XFS_OPEN_GC_ZONES))
183 return true;
184
185 free = xfs_estimate_freecounter(mp, XC_FREE_RTEXTENTS);
> 186 if (available < mult_frac(free, mp->m_zonegc_low_space, 100))
187 return true;
188
189 return false;
190 }
191
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-04-18 4:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <JFG83gowJu7PQG7cgkRFCITghKWsYeEpl0cJ6taDtZfbh4UFDCne2aW3fz7CzitHRGYciMHb7iO-Qewa_wteRw==@protonmail.internalid>
2025-04-18 4:23 ` kernel test robot [this message]
2025-04-19 9:34 ` fs/xfs/xfs_zone_gc.c:186: undefined reference to `__divmoddi4' Carlos Maiolino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202504181233.F7D9Atra-lkp@intel.com \
--to=lkp@intel.com \
--cc=Hans.Holmberg@wdc.com \
--cc=cem@kernel.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.