We want to know if there are debugging features compiled in, this may affect performance. The message is printed before the sanity checks. (This commit message is a copy of David Sterba's commit message when he introduced btrfs_print_info()).
Unified · Split
| @@ -1762,6 +1762,9 @@ static void btrfs_print_info(void) · 1761 unmodified lines | |||
| 1762 | #ifdef CONFIG_BTRFS_DEBUG | 1762 | #ifdef CONFIG_BTRFS_DEBUG |
| 1763 | ", debug=on" | 1763 | ", debug=on" |
| 1764 | #endif | 1764 | #endif |
| 1765 | #ifdef CONFIG_BTRFS_ASSERT | ||
| 1766 | ", assert=on" | ||
| 1767 | #endif | ||
| 1765 | #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY | 1768 | #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY |
| 1766 | ", integrity-checker=on" | 1769 | ", integrity-checker=on" |
| 1767 | #endif | 1770 | #endif |