commit | 3e74317ad773ba9df36db1fa32848cba41ac4d1a | [log] [tgz] |
---|---|---|
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | Fri Apr 27 12:41:45 2012 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Fri Apr 27 13:55:13 2012 -0400 |
tree | ad017d3a85aeaf32dbfd5c63312ff200502d33a7 | |
parent | 996d282c7ff470f150a467eb4815b90159d04c47 [diff] |
Btrfs: fix repair code for RAID10 btrfs_map_block sets mirror_num, so that the repair code knows eventually which device gave us the read error. For RAID10, mirror_num must be 1 or 2. Before this fix mirror_num was incorrectly related to our stripe index. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Signed-off-by: Chris Mason <chris.mason@oracle.com>