Re: [PATCH v2] block: flush queued bios when the process blocks
From: kbuild test robot
Date: Fri Oct 09 2015 - 07:59:56 EST
Hi Mike,
[auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore]
config: x86_64-lkp (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
In file included from include/linux/linkage.h:4:0,
from include/linux/fs.h:4,
from include/linux/highmem.h:4,
from include/linux/bio.h:23,
from drivers/md/bcache/bcache.h:181,
from drivers/md/bcache/btree.c:23:
drivers/md/bcache/btree.c: In function '__bch_btree_node_write':
>> drivers/md/bcache/btree.c:454:16: error: 'struct task_struct' has no member named 'bio_list'
BUG_ON(current->bio_list);
^
include/linux/compiler.h:166:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
drivers/md/bcache/btree.c:454:2: note: in expansion of macro 'BUG_ON'
BUG_ON(current->bio_list);
^
drivers/md/bcache/btree.c: In function 'bch_btree_leaf_dirty':
drivers/md/bcache/btree.c:548:14: error: 'struct task_struct' has no member named 'bio_list'
!current->bio_list)
^
In file included from include/linux/linkage.h:4:0,
from include/linux/fs.h:4,
from include/linux/highmem.h:4,
from include/linux/bio.h:23,
from drivers/md/bcache/bcache.h:181,
from drivers/md/bcache/btree.c:23:
drivers/md/bcache/btree.c: In function 'mca_alloc':
drivers/md/bcache/btree.c:893:16: error: 'struct task_struct' has no member named 'bio_list'
BUG_ON(current->bio_list);
^
include/linux/compiler.h:166:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
drivers/md/bcache/btree.c:893:2: note: in expansion of macro 'BUG_ON'
BUG_ON(current->bio_list);
^
drivers/md/bcache/btree.c: In function 'bch_btree_node_get':
drivers/md/bcache/btree.c:980:14: error: 'struct task_struct' has no member named 'bio_list'
if (current->bio_list)
^
drivers/md/bcache/btree.c: In function 'bch_btree_insert_node':
drivers/md/bcache/btree.c:2131:13: error: 'struct task_struct' has no member named 'bio_list'
if (current->bio_list) {
^
In file included from include/linux/linkage.h:4:0,
from include/linux/fs.h:4,
from include/linux/highmem.h:4,
from include/linux/bio.h:23,
from drivers/md/bcache/bcache.h:181,
from drivers/md/bcache/btree.c:23:
drivers/md/bcache/btree.c: In function 'bch_btree_insert':
drivers/md/bcache/btree.c:2211:16: error: 'struct task_struct' has no member named 'bio_list'
BUG_ON(current->bio_list);
^
include/linux/compiler.h:166:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
drivers/md/bcache/btree.c:2211:2: note: in expansion of macro 'BUG_ON'
BUG_ON(current->bio_list);
^
drivers/md/bcache/btree.c: In function 'bch_btree_insert_node':
drivers/md/bcache/btree.c:2147:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +454 drivers/md/bcache/btree.c
ee811287 Kent Overstreet 2013-12-17 448 struct bset *i = btree_bset_last(b);
cafe5635 Kent Overstreet 2013-03-23 449
2a285686 Kent Overstreet 2014-03-04 450 lockdep_assert_held(&b->write_lock);
2a285686 Kent Overstreet 2014-03-04 451
c37511b8 Kent Overstreet 2013-04-26 452 trace_bcache_btree_write(b);
c37511b8 Kent Overstreet 2013-04-26 453
cafe5635 Kent Overstreet 2013-03-23 @454 BUG_ON(current->bio_list);
57943511 Kent Overstreet 2013-04-25 455 BUG_ON(b->written >= btree_blocks(b));
57943511 Kent Overstreet 2013-04-25 456 BUG_ON(b->written && !i->keys);
ee811287 Kent Overstreet 2013-12-17 457 BUG_ON(btree_bset_first(b)->seq != i->seq);
:::::: The code at line 454 was first introduced by commit
:::::: cafe563591446cf80bfbc2fe3bc72a2e36cf1060 bcache: A block layer cache
:::::: TO: Kent Overstreet <koverstreet@xxxxxxxxxx>
:::::: CC: Kent Overstreet <koverstreet@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data