Hi Liang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on axboe-block/for-next] [also build test WARNING on v5.18-rc5] [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/intel-lab-lkp/linux/commits/Liang-Chen/fs-Fix-page-cache-inconsistency-when-mixing-buffered-and-AIO-DIO-for-bdev/20220506-215958 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next config: arc-randconfig-r043-20220506 (https://download.01.org/0day-ci/archive/20220507/202205070158.7Io6lIxQ-lkp@xxxxxxxxx/config) compiler: arc-elf-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/2b2bda510e6c93a57581021c675b023d2f43e81e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Liang-Chen/fs-Fix-page-cache-inconsistency-when-mixing-buffered-and-AIO-DIO-for-bdev/20220506-215958 git checkout 2b2bda510e6c93a57581021c675b023d2f43e81e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> block/fops.c:423:5: warning: no previous prototype for 'blkdev_sb_init_dio_done_wq' [-Wmissing-prototypes] 423 | int blkdev_sb_init_dio_done_wq(struct super_block *sb) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/blkdev_sb_init_dio_done_wq +423 block/fops.c 422 > 423 int blkdev_sb_init_dio_done_wq(struct super_block *sb) 424 { 425 struct workqueue_struct *old; 426 struct workqueue_struct *wq = alloc_workqueue("dio/%s", 427 WQ_MEM_RECLAIM, 0, 428 sb->s_id); 429 if (!wq) 430 return -ENOMEM; 431 /* 432 * This has to be atomic as more DIOs can race to create the workqueue 433 */ 434 old = cmpxchg(&sb->s_dio_done_wq, NULL, wq); 435 /* Someone created workqueue before us? Free ours... */ 436 if (old) 437 destroy_workqueue(wq); 438 return 0; 439 } 440 -- 0-DAY CI Kernel Test Service https://01.org/lkp