Hi Chandan, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.6-rc3 next-20160414] [cannot apply to btrfs/next] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Chandan-Rajendra/Allow-I-O-on-blocks-whose-size-is-less-than-page-size/20160414-214339 config: arm-allyesconfig (attached as .config) 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 warnings (new ones prefixed by >>): fs/btrfs/extent_io.c: In function 'alloc_test_extent_buffer': fs/btrfs/extent_io.c:5037:4: error: 'struct extent_buffer' has no member named 'fs_info' eb->fs_info = fs_info; ^ In file included from include/linux/bitops.h:36:0, from fs/btrfs/extent_io.c:1: fs/btrfs/extent_io.c:5055:41: error: 'struct extent_buffer' has no member named 'bflags' set_bit(EXTENT_BUFFER_HEAD_IN_TREE, &eb->bflags); ^ arch/arm/include/asm/bitops.h:182:45: note: in definition of macro 'ATOMIC_BITOP' #define ATOMIC_BITOP(name,nr,p) _##name(nr,p) ^ >> fs/btrfs/extent_io.c:5055:2: note: in expansion of macro 'set_bit' set_bit(EXTENT_BUFFER_HEAD_IN_TREE, &eb->bflags); ^ In file included from include/linux/atomic.h:4:0, from include/linux/debug_locks.h:5, from include/linux/lockdep.h:23, from include/linux/spinlock_types.h:18, from include/linux/spinlock.h:81, from include/linux/mmzone.h:7, from include/linux/gfp.h:5, from include/linux/slab.h:14, from fs/btrfs/extent_io.c:2: fs/btrfs/extent_io.c:5063:16: error: 'struct extent_buffer' has no member named 'refs' atomic_inc(&eb->refs); ^ arch/arm/include/asm/atomic.h:208:38: note: in definition of macro 'atomic_inc' #define atomic_inc(v) atomic_add(1, v) ^ In file included from arch/arm/include/asm/bitops.h:26:0, from include/linux/bitops.h:36, from fs/btrfs/extent_io.c:1: fs/btrfs/extent_io.c: In function 'release_extent_buffer': fs/btrfs/extent_io.c:5233:16: error: 'buf' undeclared (first use in this function) &eb_head(buf)->bflags))) { ^ include/linux/compiler.h:170:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ fs/btrfs/extent_io.c:5233:16: note: each undeclared identifier is reported only once for each function it appears in &eb_head(buf)->bflags))) { ^ include/linux/compiler.h:170:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ fs/btrfs/extent_io.c:5234:33: error: 'eb' undeclared (first use in this function) __free_extent_buffer(eb_head(eb)); ^ vim +/set_bit +5055 fs/btrfs/extent_io.c 5039 ret = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); 5040 if (ret) 5041 goto free_eb; 5042 spin_lock(&fs_info->buffer_lock); 5043 ret = radix_tree_insert(&fs_info->buffer_radix, 5044 start >> PAGE_SHIFT, eb); 5045 spin_unlock(&fs_info->buffer_lock); 5046 radix_tree_preload_end(); 5047 if (ret == -EEXIST) { 5048 exists = find_extent_buffer(fs_info, start); 5049 if (exists) 5050 goto free_eb; 5051 else 5052 goto again; 5053 } 5054 check_buffer_tree_ref(eb); > 5055 set_bit(EXTENT_BUFFER_HEAD_IN_TREE, &eb->bflags); 5056 5057 /* 5058 * We will free dummy extent buffer's if they come into 5059 * free_extent_buffer with a ref count of 2, but if we are using this we 5060 * want the buffers to stay in memory until we're done with them, so 5061 * bump the ref count again. 5062 */ 5063 atomic_inc(&eb->refs); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data