On Fri, Mar 30, 2018 at 03:35:25PM +0800, Qu Wenruo wrote: > Can be fetched from github: > https://github.com/adam900710/btrfs-progs/tree/btrfs_image_fix > > Bug report: > https://github.com/kdave/btrfs-progs/issues/118 > > In short, the problem is caused by some old code (read_extent_data() > from ancient btrfs check code) and offset-by-one from btrfs-image. > Which makes btrfs-image can only read from the first stripe of RAID1. > > And if device of the first stripe is missing, btrfs-image will fail. > > Fix the problem and add test case for it. > > Qu Wenruo (3): > btrfs-progs: disk-io: Fix read_extent_data() error handler for missing > device > btrfs-progs: convert: Fix offset-by-one error in read_data_extent() > btrfs-progs: tests/misc: Test if btrfs-image can handle RAID1 missing > device
1-3 applied, thanks. I'll reorder the uuid tree patch after those patches so the test does not fail. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html