* Re: [PATCH] blk-wbt: do not throttle swap write on processes other than kswapd
[not found] <1660217545-10697-1-git-send-email-zhanghongchen@loongson.cn>
@ 2022-08-11 19:08 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-11 19:08 UTC (permalink / raw)
To: Hongchen Zhang, Jens Axboe
Cc: llvm, kbuild-all, linux-block, linux-kernel, Hongchen Zhang
Hi Hongchen,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on axboe-block/for-next]
[also build test ERROR on linus/master v5.19 next-20220811]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Hongchen-Zhang/blk-wbt-do-not-throttle-swap-write-on-processes-other-than-kswapd/20220811-193652
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: arm-randconfig-r001-20220811 (https://download.01.org/0day-ci/archive/20220812/202208120245.VvjRBGkd-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/intel-lab-lkp/linux/commit/a3ed95d0b72fa83c2ad007bee31d928fad40e70d
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Hongchen-Zhang/blk-wbt-do-not-throttle-swap-write-on-processes-other-than-kswapd/20220811-193652
git checkout a3ed95d0b72fa83c2ad007bee31d928fad40e70d
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> block/blk-wbt.c:558:26: error: use of undeclared identifier 'end_swap_bio_write'
(bio->bi_end_io != end_swap_bio_write))
^
1 error generated.
vim +/end_swap_bio_write +558 block/blk-wbt.c
542
543 static enum wbt_flags bio_to_wbt_flags(struct rq_wb *rwb, struct bio *bio)
544 {
545 enum wbt_flags flags = 0;
546
547 if (!rwb_enabled(rwb))
548 return 0;
549
550 if (bio_op(bio) == REQ_OP_READ) {
551 flags = WBT_READ;
552 } else if (wbt_should_throttle(bio)) {
553 if (current_is_kswapd())
554 flags |= WBT_KSWAPD;
555 if (bio_op(bio) == REQ_OP_DISCARD)
556 flags |= WBT_DISCARD;
557 if (current_is_kswapd() ||
> 558 (bio->bi_end_io != end_swap_bio_write))
559 flags |= WBT_TRACKED;
560 }
561 return flags;
562 }
563
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-11 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1660217545-10697-1-git-send-email-zhanghongchen@loongson.cn>
2022-08-11 19:08 ` [PATCH] blk-wbt: do not throttle swap write on processes other than kswapd kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox