Displaying 2 results from an estimated 2 matches for "btrfs_fs_check_integrity".
2011 Dec 22
0
[RESEND] [PATCH v2] Btrfs: runtime integrity check tool
...btrfs and generic.
The search term in the kernel log that can be used to filter
on the existence of detected integrity issues is
"btrfs: attempt".
The integrity check is enabled via mount options. These
mount options are only supported if the integrity check
tool is compiled by defining BTRFS_FS_CHECK_INTEGRITY.
Example #1, apply integrity checks to all metadata:
mount /dev/sdb1 /mnt -o check_int
Example #2, apply integrity checks to all metadata and
to data extents:
mount /dev/sdb1 /mnt -o check_int_data
Example #3, apply integrity checks to all metadata and dump
the tree that the super block referenc...
2013 Mar 15
0
[PATCH] Btrfs: add some free space cache tests
...+++++++++++++++++++
fs/btrfs/free-space-cache.h | 5 +
fs/btrfs/super.c | 5 +
4 files changed, 540 insertions(+), 0 deletions(-)
diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig
index 5f583c8..4b3ac45 100644
--- a/fs/btrfs/Kconfig
+++ b/fs/btrfs/Kconfig
@@ -53,3 +53,14 @@ config BTRFS_FS_CHECK_INTEGRITY
In most cases, unless you are a btrfs developer who needs
to verify the integrity of (super)-block write requests
during the run of a regression test, say N
+
+config BTRFS_FS_RUN_SANITY_TESTS
+ bool "Btrfs will run sanity tests upon loading"
+ depends on BTRFS_FS
+ help
+ T...