From: kernel test robot <lkp@intel.com> To: Chao Yu <yuchao0@huawei.com>, Chao Yu <chao@kernel.org>, jaegeuk@kernel.org Cc: kbuild-all@lists.01.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Chao Yu <yuchao0@huawei.com>, Chao Yu <chao@kernel.org> Subject: Re: [PATCH] f2fs: fix wrong inflight page stats for directIO Date: Mon, 19 Jul 2021 18:39:23 +0800 [thread overview] Message-ID: <202107191839.ddIOcfGL-lkp@intel.com> (raw) In-Reply-To: <20210719082529.17948-1-chao@kernel.org> [-- Attachment #1: Type: text/plain, Size: 2913 bytes --] Hi Chao, I love your patch! Yet something to improve: [auto build test ERROR on f2fs/dev-test] [also build test ERROR on linux/master linus/master v5.14-rc2 next-20210716] [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/Chao-Yu/f2fs-fix-wrong-inflight-page-stats-for-directIO/20210719-170844 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test config: nios2-randconfig-r031-20210719 (attached as .config) compiler: nios2-linux-gcc (GCC) 10.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/0day-ci/linux/commit/5fc42a72cb1e41b799ea659d710c091804fb648a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Chao-Yu/f2fs-fix-wrong-inflight-page-stats-for-directIO/20210719-170844 git checkout 5fc42a72cb1e41b799ea659d710c091804fb648a # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All errors (new ones prefixed by >>): fs/f2fs/data.c: In function 'f2fs_dio_submit_bio': >> fs/f2fs/data.c:3523:16: error: 'blkcnt' undeclared (first use in this function); did you mean 'blkcg'? 3523 | dio->blkcnt = blkcnt; | ^~~~~~ | blkcg fs/f2fs/data.c:3523:16: note: each undeclared identifier is reported only once for each function it appears in vim +3523 fs/f2fs/data.c 3508 3509 static void f2fs_dio_submit_bio(struct bio *bio, struct inode *inode, 3510 loff_t file_offset) 3511 { 3512 struct f2fs_private_dio *dio; 3513 bool write = (bio_op(bio) == REQ_OP_WRITE); 3514 3515 dio = f2fs_kzalloc(F2FS_I_SB(inode), 3516 sizeof(struct f2fs_private_dio), GFP_NOFS); 3517 if (!dio) 3518 goto out; 3519 3520 dio->inode = inode; 3521 dio->orig_end_io = bio->bi_end_io; 3522 dio->orig_private = bio->bi_private; > 3523 dio->blkcnt = blkcnt; 3524 dio->write = write; 3525 3526 bio->bi_end_io = f2fs_dio_end_io; 3527 bio->bi_private = dio; 3528 3529 inc_page_counts(F2FS_I_SB(inode), 3530 write ? F2FS_DIO_WRITE : F2FS_DIO_READ, dio->blkcnt); 3531 3532 submit_bio(bio); 3533 return; 3534 out: 3535 bio->bi_status = BLK_STS_IOERR; 3536 bio_endio(bio); 3537 } 3538 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 28532 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH] f2fs: fix wrong inflight page stats for directIO Date: Mon, 19 Jul 2021 18:39:23 +0800 [thread overview] Message-ID: <202107191839.ddIOcfGL-lkp@intel.com> (raw) In-Reply-To: <20210719082529.17948-1-chao@kernel.org> [-- Attachment #1: Type: text/plain, Size: 2990 bytes --] Hi Chao, I love your patch! Yet something to improve: [auto build test ERROR on f2fs/dev-test] [also build test ERROR on linux/master linus/master v5.14-rc2 next-20210716] [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/Chao-Yu/f2fs-fix-wrong-inflight-page-stats-for-directIO/20210719-170844 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test config: nios2-randconfig-r031-20210719 (attached as .config) compiler: nios2-linux-gcc (GCC) 10.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/0day-ci/linux/commit/5fc42a72cb1e41b799ea659d710c091804fb648a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Chao-Yu/f2fs-fix-wrong-inflight-page-stats-for-directIO/20210719-170844 git checkout 5fc42a72cb1e41b799ea659d710c091804fb648a # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All errors (new ones prefixed by >>): fs/f2fs/data.c: In function 'f2fs_dio_submit_bio': >> fs/f2fs/data.c:3523:16: error: 'blkcnt' undeclared (first use in this function); did you mean 'blkcg'? 3523 | dio->blkcnt = blkcnt; | ^~~~~~ | blkcg fs/f2fs/data.c:3523:16: note: each undeclared identifier is reported only once for each function it appears in vim +3523 fs/f2fs/data.c 3508 3509 static void f2fs_dio_submit_bio(struct bio *bio, struct inode *inode, 3510 loff_t file_offset) 3511 { 3512 struct f2fs_private_dio *dio; 3513 bool write = (bio_op(bio) == REQ_OP_WRITE); 3514 3515 dio = f2fs_kzalloc(F2FS_I_SB(inode), 3516 sizeof(struct f2fs_private_dio), GFP_NOFS); 3517 if (!dio) 3518 goto out; 3519 3520 dio->inode = inode; 3521 dio->orig_end_io = bio->bi_end_io; 3522 dio->orig_private = bio->bi_private; > 3523 dio->blkcnt = blkcnt; 3524 dio->write = write; 3525 3526 bio->bi_end_io = f2fs_dio_end_io; 3527 bio->bi_private = dio; 3528 3529 inc_page_counts(F2FS_I_SB(inode), 3530 write ? F2FS_DIO_WRITE : F2FS_DIO_READ, dio->blkcnt); 3531 3532 submit_bio(bio); 3533 return; 3534 out: 3535 bio->bi_status = BLK_STS_IOERR; 3536 bio_endio(bio); 3537 } 3538 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 28532 bytes --]
next prev parent reply other threads:[~2021-07-19 10:39 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-19 8:25 [PATCH] f2fs: fix wrong inflight page stats for directIO Chao Yu 2021-07-19 8:25 ` [f2fs-dev] " Chao Yu 2021-07-19 10:36 ` kernel test robot 2021-07-19 10:36 ` kernel test robot 2021-07-19 10:39 ` kernel test robot [this message] 2021-07-19 10:39 ` kernel test robot
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=202107191839.ddIOcfGL-lkp@intel.com \ --to=lkp@intel.com \ --cc=chao@kernel.org \ --cc=jaegeuk@kernel.org \ --cc=kbuild-all@lists.01.org \ --cc=linux-f2fs-devel@lists.sourceforge.net \ --cc=linux-kernel@vger.kernel.org \ --cc=yuchao0@huawei.com \ /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: linkBe 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.