On Thu, Jun 11, 2015 at 03:59:22PM +0800, Liu Bo wrote: > On Wed, Jun 03, 2015 at 03:42:38PM +0200, Christoph Hellwig wrote: > > Bio error reporting has been a mess for a while, and the increasing > > use of chained bios makes it worse. > > > > This series attempts to add a proper error field to struct bio > > to sort this out. It's working fine for me, but MD and btrfs were > > doing pretty nasty things with the BIO_UPTODATE flag, so I would > > appreciate some detailed review there. > > Somehow the patch is missing from my mailbox, but this cover letter > remains, I have to review it from online archive. > > Anyway, I went through btrfs part and it looks good. > > Reviewed-by: Liu Bo <bo.li.liu@xxxxxxxxxx> (btrfs part) Also there're some conflicts in btrfs_end_empty_barrier(): ... static void btrfs_end_empty_barrier(struct bio *bio, int err) { if (err) { if (err == -EOPNOTSUPP) set_bit(BIO_EOPNOTSUPP, &bio->bi_flags); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ clear_bit(BIO_UPTODATE, &bio->bi_flags); } if (bio->bi_private) complete(bio->bi_private); bio_put(bio); } Thanks, -liubo -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel