summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorMiao Xie2014-09-12 12:44:02 +0200
committerChris Mason2014-09-17 22:39:00 +0200
commit28e1cc7d1baf8038ae4ad4681c8f3dc94fcd7c00 (patch)
tree0d823d67ce5cb6eb1a12ab9aff5a49a7abde079d /fs/btrfs/inode.c
parentBtrfs: modify clean_io_failure and make it suit direct io (diff)
downloadkernel-qcow2-linux-28e1cc7d1baf8038ae4ad4681c8f3dc94fcd7c00.tar.gz
kernel-qcow2-linux-28e1cc7d1baf8038ae4ad4681c8f3dc94fcd7c00.tar.xz
kernel-qcow2-linux-28e1cc7d1baf8038ae4ad4681c8f3dc94fcd7c00.zip
Btrfs: Set real mirror number for read operation on RAID0/5/6
We need real mirror number for RAID0/5/6 when reading data, or if read error happens, we would pass 0 as the number of the mirror on which the io error happens. It is wrong and would cause the filesystem read the data from the corrupted mirror again. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions