On 1/26/2012 9:59 AM, Hugo Mills wrote: > On Thu, Jan 26, 2012 at 12:27:57AM +0100, Waxhead wrote: [...] >> Will BTRFS try to repair the corrupt data or will it simply silently >> restore the data without the user knowing that a file has been >> "fixed"? > > No, it'll just return the good copy and report the failure in the > system logs. If you want to fix the corrupt data, you need to use > scrub, which will check everything and fix blocks with failed > checksums. Since 3.2, btrfs rewrites the corrupt disk block (commit 4a54c8c and f4a8e65 from Jan Schmidt), even without scrub. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
