Hi Shiyang, Thank you for the patch! Yet something to improve: [auto build test ERROR on xfs-linux/for-next] [also build test ERROR on linux/master] [cannot apply to hnaz-mm/master linus/master v5.17-rc5 next-20220225] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Shiyang-Ruan/fsdax-introduce-fs-query-to-support-reflink/20220227-200849 base: https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git for-next config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220227/202202272203.U7VlQY3B-lkp@xxxxxxxxx/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/9f4bfbd2bae60e9f172e0b7332b2af32aa5baa87 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Shiyang-Ruan/fsdax-introduce-fs-query-to-support-reflink/20220227-200849 git checkout 9f4bfbd2bae60e9f172e0b7332b2af32aa5baa87 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): ld: fs/xfs/xfs_buf.o: in function `xfs_free_buftarg': >> fs/xfs/xfs_buf.c:1897: undefined reference to `dax_unregister_holder' ld: fs/xfs/xfs_notify_failure.o: in function `xfs_dax_notify_failure': >> fs/xfs/xfs_notify_failure.c:187: undefined reference to `dax_holder' vim +1897 fs/xfs/xfs_buf.c 1885 1886 void 1887 xfs_free_buftarg( 1888 struct xfs_buftarg *btp) 1889 { 1890 unregister_shrinker(&btp->bt_shrinker); 1891 ASSERT(percpu_counter_sum(&btp->bt_io_count) == 0); 1892 percpu_counter_destroy(&btp->bt_io_count); 1893 list_lru_destroy(&btp->bt_lru); 1894 1895 blkdev_issue_flush(btp->bt_bdev); 1896 if (btp->bt_daxdev) > 1897 dax_unregister_holder(btp->bt_daxdev, btp->bt_mount); 1898 fs_put_dax(btp->bt_daxdev); 1899 1900 kmem_free(btp); 1901 } 1902 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx