Re: [PATCH v11 13/13] btrfs: dedupe: fix false ENOSPC
From: kbuild test robot <hidden>
Date: 2016-06-15 03:11:34
Hi, [auto build test ERROR on v4.7-rc3] [cannot apply to btrfs/next next-20160614] [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/Qu-Wenruo/Btrfs-dedupe-framework/20160615-101646 config: i386-randconfig-a0-201624 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): fs/btrfs/tests/extent-io-tests.c: In function 'test_find_delalloc':
quoted
fs/btrfs/tests/extent-io-tests.c:117:2: error: too few arguments to function 'set_extent_delalloc'
set_extent_delalloc(&tmp, 0, sectorsize - 1, NULL);
^~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/tests/../ctree.h:40:0,
from fs/btrfs/tests/extent-io-tests.c:24:
fs/btrfs/tests/../extent_io.h:294:19: note: declared here
static inline int set_extent_delalloc(struct extent_io_tree *tree, u64 start,
^~~~~~~~~~~~~~~~~~~
fs/btrfs/tests/extent-io-tests.c:148:2: error: too few arguments to function 'set_extent_delalloc'
set_extent_delalloc(&tmp, sectorsize, max_bytes - 1, NULL);
^~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/tests/../ctree.h:40:0,
from fs/btrfs/tests/extent-io-tests.c:24:
fs/btrfs/tests/../extent_io.h:294:19: note: declared here
static inline int set_extent_delalloc(struct extent_io_tree *tree, u64 start,
^~~~~~~~~~~~~~~~~~~
fs/btrfs/tests/extent-io-tests.c:203:2: error: too few arguments to function 'set_extent_delalloc'
set_extent_delalloc(&tmp, max_bytes, total_dirty - 1, NULL);
^~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/tests/../ctree.h:40:0,
from fs/btrfs/tests/extent-io-tests.c:24:
fs/btrfs/tests/../extent_io.h:294:19: note: declared here
static inline int set_extent_delalloc(struct extent_io_tree *tree, u64 start,
^~~~~~~~~~~~~~~~~~~
--
fs/btrfs/tests/inode-tests.c: In function 'test_extent_accounting':quoted
fs/btrfs/tests/inode-tests.c:969:8: error: too few arguments to function 'btrfs_set_extent_delalloc'
ret = btrfs_set_extent_delalloc(inode, 0, BTRFS_MAX_EXTENT_SIZE - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3099:5: note: declared here
int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
^~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/tests/inode-tests.c:984:8: error: too few arguments to function 'btrfs_set_extent_delalloc'
ret = btrfs_set_extent_delalloc(inode, BTRFS_MAX_EXTENT_SIZE,
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3099:5: note: declared here
int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
^~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/tests/inode-tests.c:1018:8: error: too few arguments to function 'btrfs_set_extent_delalloc'
ret = btrfs_set_extent_delalloc(inode, BTRFS_MAX_EXTENT_SIZE >> 1,
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3099:5: note: declared here
int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
^~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/tests/inode-tests.c:1041:8: error: too few arguments to function 'btrfs_set_extent_delalloc'
ret = btrfs_set_extent_delalloc(inode,
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3099:5: note: declared here
int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
^~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/tests/inode-tests.c:1060:8: error: too few arguments to function 'btrfs_set_extent_delalloc'
ret = btrfs_set_extent_delalloc(inode,
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3099:5: note: declared here
int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
^~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/tests/inode-tests.c:1097:8: error: too few arguments to function 'btrfs_set_extent_delalloc'
ret = btrfs_set_extent_delalloc(inode,
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/tests/inode-tests.c:21:0:
fs/btrfs/tests/../ctree.h:3099:5: note: declared here
int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/set_extent_delalloc +117 fs/btrfs/tests/extent-io-tests.c
294e30fe Josef Bacik 2013-10-09 111 }
294e30fe Josef Bacik 2013-10-09 112
294e30fe Josef Bacik 2013-10-09 113 /* Test this scenario
294e30fe Josef Bacik 2013-10-09 114 * |--- delalloc ---|
294e30fe Josef Bacik 2013-10-09 115 * |--- search ---|
294e30fe Josef Bacik 2013-10-09 116 */
b9ef22de Feifei Xu 2016-06-01 @117 set_extent_delalloc(&tmp, 0, sectorsize - 1, NULL);
294e30fe Josef Bacik 2013-10-09 118 start = 0;
294e30fe Josef Bacik 2013-10-09 119 end = 0;
294e30fe Josef Bacik 2013-10-09 120 found = find_lock_delalloc_range(inode, &tmp, locked_page, &start,
:::::: The code at line 117 was first introduced by commit
:::::: b9ef22dedde08ab1b4ccd5f53344984c4dcb89f4 Btrfs: self-tests: Support non-4k page size
:::::: TO: Feifei Xu [off-list ref]
:::::: CC: David Sterba [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/octet-stream] 26196 bytes