On Thu, May 28 2015 at 12:46pm -0400, kbuild test robot <fengguang.wu@xxxxxxxxx> wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git dm-4.1-for-ejt > head: b8112c1e5d7658f3f6a300f6efeb5fae6ec135eb > commit: b8112c1e5d7658f3f6a300f6efeb5fae6ec135eb [33/33] dm thin: range discard support > config: x86_64-rhel (attached as .config) > reproduce: > git checkout b8112c1e5d7658f3f6a300f6efeb5fae6ec135eb > # save the attached .config to linux build tree > make ARCH=x86_64 > > All error/warnings: > > drivers/md/dm-thin.c: In function '__bio_inc_remaining': > >> drivers/md/dm-thin.c:1543:25: error: 'BIO_CHAIN' undeclared (first use in this function) > bio->bi_flags |= (1 << BIO_CHAIN); > ^ > drivers/md/dm-thin.c:1543:25: note: each undeclared identifier is reported only once for each function it appears in > >> drivers/md/dm-thin.c:1545:17: error: 'struct bio' has no member named '__bi_remaining' > atomic_inc(&bio->__bi_remaining); > ^ > > vim +/BIO_CHAIN +1543 drivers/md/dm-thin.c > > 1537 * FIXME: DM local hack to defer parent bios's end_io until we > 1538 * _know_ all chained sub range discard bios have completed. > 1539 * Will go away once late bio splitting lands upstream! > 1540 */ > 1541 static inline void __bio_inc_remaining(struct bio *bio) > 1542 { > > 1543 bio->bi_flags |= (1 << BIO_CHAIN); > 1544 smp_mb__before_atomic(); > > 1545 atomic_inc(&bio->__bi_remaining); > 1546 } > 1547 > 1548 static void break_up_discard_bio(struct thin_c *tc, dm_block_t begin, dm_block_t end, I fixed this up.. but this is a temporary branch for Joe... please move along, nothing to see here :) -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel