Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: kernel test robot <lkp@intel.com>, Qu Wenruo <wqu@suse.com>,
	linux-btrfs@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v2 2/2] btrfs: defrag: allow fine-tuning defrag behavior based on file extent usage
Date: Tue, 12 Mar 2024 13:36:26 +1030	[thread overview]
Message-ID: <51f4dcf3-d0f2-4a05-af68-7ee124eb8045@gmx.com> (raw)
In-Reply-To: <202403112159.IQpF7kcT-lkp@intel.com>



在 2024/3/12 00:24, kernel test robot 写道:
> Hi Qu,
>
> kernel test robot noticed the following build errors:

Thanks as usual, the LKP bots are really helpful to detect such 32 bit
division problems.

>
> [auto build test ERROR on kdave/for-next]
> [also build test ERROR on linus/master v6.8 next-20240308]
> [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/Qu-Wenruo/btrfs-defrag-add-under-utilized-extent-to-defrag-target-list/20240311-141116
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
> patch link:    https://lore.kernel.org/r/d87c011eca11395aafa23cf7ea3ac8c0c8812fe6.1710137066.git.wqu%40suse.com
> patch subject: [PATCH v2 2/2] btrfs: defrag: allow fine-tuning defrag behavior based on file extent usage
> config: m68k-defconfig (https://download.01.org/0day-ci/archive/20240311/202403112159.IQpF7kcT-lkp@intel.com/config)
> compiler: m68k-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240311/202403112159.IQpF7kcT-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202403112159.IQpF7kcT-lkp@intel.com/
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>>> ERROR: modpost: "__udivdi3" [fs/btrfs/btrfs.ko] undefined!

So it's my new 100 based (aka, percentage) parameter of usage_ratio
triggering the problem:

+       if (em->len < em->orig_block_len * usage_ratio / 100)

Where my previous version goes "/ 65536" and the compiler just change it
to right shift thus no such problem.

Thanks,
Qu

>

      reply	other threads:[~2024-03-12  3:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-11  6:08 [PATCH v2 0/2] btrfs: defrag: better lone extent handling Qu Wenruo
2024-03-11  6:08 ` [PATCH v2 1/2] btrfs: defrag: add under utilized extent to defrag target list Qu Wenruo
2024-03-11  6:08 ` [PATCH v2 2/2] btrfs: defrag: allow fine-tuning defrag behavior based on file extent usage Qu Wenruo
2024-03-11 13:54   ` kernel test robot
2024-03-12  3:06     ` Qu Wenruo [this message]

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=51f4dcf3-d0f2-4a05-af68-7ee124eb8045@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=wqu@suse.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox