All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 3/3] dm: properly fix redundant bio-based IO accounting
Date: Fri, 28 Jan 2022 11:48:16 +0800	[thread overview]
Message-ID: <202201281121.YMTa5Abg-lkp@intel.com> (raw)
In-Reply-To: <20220127225648.28729-4-snitzer@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2635 bytes --]

Hi Mike,

I love your patch! Yet something to improve:

[auto build test ERROR on axboe-block/for-next]
[also build test ERROR on device-mapper-dm/for-next hch-configfs/for-next v5.17-rc1 next-20220127]
[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/Mike-Snitzer/block-dm-fix-bio-based-DM-IO-accounting/20220128-065741
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20220128/202201281121.YMTa5Abg-lkp(a)intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.2.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/8bce71c28a009209a279db6200c981596b769dd1
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Mike-Snitzer/block-dm-fix-bio-based-DM-IO-accounting/20220128-065741
        git checkout 8bce71c28a009209a279db6200c981596b769dd1
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash drivers/

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 >>):

   drivers/md/dm.c: In function 'start_io_acct':
>> drivers/md/dm.c:492:9: error: implicit declaration of function '__bio_start_io_acct'; did you mean 'bio_start_io_acct'? [-Werror=implicit-function-declaration]
     492 |         __bio_start_io_acct(bio, io->start_time);
         |         ^~~~~~~~~~~~~~~~~~~
         |         bio_start_io_acct
   cc1: some warnings being treated as errors


vim +492 drivers/md/dm.c

   486	
   487	static void start_io_acct(struct dm_io *io)
   488	{
   489		struct mapped_device *md = io->md;
   490		struct bio *bio = io->orig_bio;
   491	
 > 492		__bio_start_io_acct(bio, io->start_time);
   493		if (unlikely(dm_stats_used(&md->stats)))
   494			dm_stats_account_io(&md->stats, bio_data_dir(bio),
   495					    bio->bi_iter.bi_sector, bio_sectors(bio),
   496					    false, 0, &io->stats_aux);
   497	}
   498	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

  reply	other threads:[~2022-01-28  3:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-27 22:56 [dm-devel] [PATCH v2 0/3] block/dm: fix bio-based DM IO accounting Mike Snitzer
2022-01-27 22:56 ` Mike Snitzer
2022-01-27 22:56 ` [dm-devel] [PATCH v2 1/3] block: add bio_start_io_acct_time() to control start_time Mike Snitzer
2022-01-27 22:56   ` Mike Snitzer
2022-01-27 22:56 ` [dm-devel] [PATCH v2 2/3] dm: revert partial fix for redundant bio-based IO accounting Mike Snitzer
2022-01-27 22:56   ` Mike Snitzer
2022-01-27 22:56 ` [dm-devel] [PATCH v2 3/3] dm: properly fix " Mike Snitzer
2022-01-27 22:56   ` Mike Snitzer
2022-01-28  3:48   ` kernel test robot [this message]
2022-01-28  4:08   ` [dm-devel] " Mike Snitzer
2022-01-28  4:08     ` Mike Snitzer

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=202201281121.YMTa5Abg-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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: link
Be 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.