Btrfs: disable online raid-repair on ro mounts
authorIlya Dryomov <idryomov@gmail.com>
Sun, 3 Nov 2013 17:06:39 +0000 (19:06 +0200)
committerChris Mason <chris.mason@fusionio.com>
Thu, 21 Nov 2013 01:42:05 +0000 (20:42 -0500)
commit908960c6c0fb3b3ce3971dc0ca47b581d256b968
tree442d6f6c9dd6e5f10225a09a5b6bfadf07ec4729
parent33ef30add16905f99bbe799ee5ccea15ba497803
Btrfs: disable online raid-repair on ro mounts

This disables the "if needed, write the good copy back before the read
is completed" part of the read sequence for read-only mounts.

Cc: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent_io.c