All of lore.kernel.org
 help / color / mirror / Atom feed
* [hch-xfs:xfs-zoned 62/64] fs/xfs/xfs_aops.c:200:undefined reference to `xfs_mark_rtg_boundary'
@ 2024-11-12  0:34 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-11-12  0:34 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: oe-kbuild-all

tree:   git://git.infradead.org/users/hch/xfs xfs-zoned
head:   f9bf4d561e545fe8e988fb807cc47d879f0a00f8
commit: 2469717386951415b1e900370e25b0cc3c8d6b1d [62/64] xfs: use xfs_mark_rtg_boundary in xfs_end_bio
config: powerpc64-randconfig-002-20241112 (https://download.01.org/0day-ci/archive/20241112/202411120859.2bRiON7C-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241112/202411120859.2bRiON7C-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/202411120859.2bRiON7C-lkp@intel.com/

All errors (new ones prefixed by >>):

   powerpc64-linux-ld: warning: discarding dynamic section .glink
   powerpc64-linux-ld: warning: discarding dynamic section .plt
   powerpc64-linux-ld: linkage table error against `xfs_mark_rtg_boundary'
   powerpc64-linux-ld: stubs don't match calculated size
   powerpc64-linux-ld: can not build stubs: bad value
   powerpc64-linux-ld: fs/xfs/xfs_aops.o: in function `xfs_end_bio':
>> fs/xfs/xfs_aops.c:200:(.text+0xc0): undefined reference to `xfs_mark_rtg_boundary'


vim +200 fs/xfs/xfs_aops.c

   184	
   185	void
   186	xfs_end_bio(
   187		struct bio		*bio)
   188	{
   189		struct iomap_ioend	*ioend = iomap_ioend_from_bio(bio);
   190		struct xfs_inode	*ip = XFS_I(ioend->io_inode);
   191		struct xfs_mount	*mp = ip->i_mount;
   192		unsigned long		flags;
   193	
   194		/*
   195		 * For Appends record the actually written block number and set the
   196		 * boundary flag if needed.
   197		 */
   198		if (bio_is_zone_append(bio)) {
   199			ioend->io_sector = bio->bi_iter.bi_sector;
 > 200			xfs_mark_rtg_boundary(ioend);
   201		}
   202	
   203		spin_lock_irqsave(&ip->i_ioend_lock, flags);
   204		if (list_empty(&ip->i_ioend_list))
   205			WARN_ON_ONCE(!queue_work(mp->m_unwritten_workqueue,
   206						 &ip->i_ioend_work));
   207		list_add_tail(&ioend->io_list, &ip->i_ioend_list);
   208		spin_unlock_irqrestore(&ip->i_ioend_lock, flags);
   209	}
   210	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [hch-xfs:xfs-zoned 62/64] fs/xfs/xfs_aops.c:200: undefined reference to `xfs_mark_rtg_boundary'
@ 2024-11-12 13:28 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-11-12 13:28 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: oe-kbuild-all

tree:   git://git.infradead.org/users/hch/xfs xfs-zoned
head:   f9bf4d561e545fe8e988fb807cc47d879f0a00f8
commit: 2469717386951415b1e900370e25b0cc3c8d6b1d [62/64] xfs: use xfs_mark_rtg_boundary in xfs_end_bio
config: x86_64-randconfig-016-20241112 (https://download.01.org/0day-ci/archive/20241112/202411122110.ct0FS0fR-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/20241112/202411122110.ct0FS0fR-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/202411122110.ct0FS0fR-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: vmlinux.o: in function `xfs_end_bio':
>> fs/xfs/xfs_aops.c:200: undefined reference to `xfs_mark_rtg_boundary'


vim +200 fs/xfs/xfs_aops.c

   184	
   185	void
   186	xfs_end_bio(
   187		struct bio		*bio)
   188	{
   189		struct iomap_ioend	*ioend = iomap_ioend_from_bio(bio);
   190		struct xfs_inode	*ip = XFS_I(ioend->io_inode);
   191		struct xfs_mount	*mp = ip->i_mount;
   192		unsigned long		flags;
   193	
   194		/*
   195		 * For Appends record the actually written block number and set the
   196		 * boundary flag if needed.
   197		 */
   198		if (bio_is_zone_append(bio)) {
   199			ioend->io_sector = bio->bi_iter.bi_sector;
 > 200			xfs_mark_rtg_boundary(ioend);
   201		}
   202	
   203		spin_lock_irqsave(&ip->i_ioend_lock, flags);
   204		if (list_empty(&ip->i_ioend_list))
   205			WARN_ON_ONCE(!queue_work(mp->m_unwritten_workqueue,
   206						 &ip->i_ioend_work));
   207		list_add_tail(&ioend->io_list, &ip->i_ioend_list);
   208		spin_unlock_irqrestore(&ip->i_ioend_lock, flags);
   209	}
   210	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-12 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-12 13:28 [hch-xfs:xfs-zoned 62/64] fs/xfs/xfs_aops.c:200: undefined reference to `xfs_mark_rtg_boundary' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2024-11-12  0:34 [hch-xfs:xfs-zoned 62/64] fs/xfs/xfs_aops.c:200:undefined " 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.