Re: [PATCH] ext4: always pre-allocate max depth for path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test ERROR on ext4/dev]
[also build test ERROR on v4.7-rc3 next-20160616]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Faccini-Bruno/ext4-always-pre-allocate-max-depth-for-path/20160617-005701
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
config: arm-orion5x_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   fs/built-in.o: In function `ext4_ext_init':
>> fs/ext4/extents.c:3096: undefined reference to `__aeabi_ldivmod'
>> fs/ext4/extents.c:3109: undefined reference to `__aeabi_uldivmod'

vim +3096 fs/ext4/extents.c

  3090	#endif
  3091			       , sb->s_id);
  3092	
  3093	
  3094			EXT4_SB(sb)->s_max_ext_tree_depth = 1;
  3095	
> 3096			maxblocks = sb->s_maxbytes / sb->s_blocksize;
  3097	
  3098			/* 1st/root level/node of extents tree stands in i_data and
  3099			 * entries stored in tree nodes can be of type ext4_extent
  3100			 * (leaf node) or ext4_extent_idx (internal node) */
  3101			maxblocks /= (sizeof(((struct ext4_inode_info *)0x0)->i_data) -
  3102				      sizeof(struct ext4_extent_header)) /
  3103				     max(sizeof(struct ext4_extent),
  3104					 sizeof(struct ext4_extent_idx));
  3105	
  3106			/* compute maximum extents tree depth for a fully populated
  3107			 * file of max size made of only minimal/1-block extents */
  3108			while (maxblocks > 0) {
> 3109				maxblocks /= (sb->s_blocksize -
  3110					      sizeof(struct ext4_extent_header)) /
  3111					     max(sizeof(struct ext4_extent),
  3112						 sizeof(struct ext4_extent_idx));

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux