diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-04-27 18:41:45 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-04-27 19:55:13 +0200 |
commit | 3e74317ad773ba9df36db1fa32848cba41ac4d1a (patch) | |
tree | ad017d3a85aeaf32dbfd5c63312ff200502d33a7 /fs/btrfs/extent_io.c | |
parent | Btrfs: do not start delalloc inodes during sync (diff) | |
download | linux-3e74317ad773ba9df36db1fa32848cba41ac4d1a.tar.xz linux-3e74317ad773ba9df36db1fa32848cba41ac4d1a.zip |
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>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions