| commit | 2178e19f4ec189e43a3bbd92b9623a2ed67e584f | [log] [tgz] |
|---|---|---|
| author | Chris Mason <chris.mason@oracle.com> | Fri Nov 11 13:24:19 2011 -0500 |
| committer | Chris Mason <chris.mason@oracle.com> | Fri Nov 11 13:24:19 2011 -0500 |
| tree | 8497610559550d2cf861b726b5c64a840b6f4a6f | |
| parent | 8965593e41dd2d0e2a2f1e6f245336005ea94a2c [diff] |
Btrfs: add a recovery_errors mount option to limp along with a corrupted FS When btrfs isn't able to read a tree root, it generally aborts the mount. This patch adds mount -o recovery_errors to force it to try and continue along. Right now it only deals with corrupt csum roots, but it will also gain support for extent allocation tree roots as well. In this mode, the FS is forced readonly and we ignore all csums. Signed-off-by: Chris Mason <chris.mason@oracle.com>