Message ID | 32516c087c164d4c319ac774758c70112e560a21.1378214658.git.sbehrens@giantdisaster.de (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
On Tue, Sep 03, 2013 at 03:25:27PM +0200, Stefan Behrens wrote: > We want to know if there are debugging features compiled in, this may > affect performance. The message is printed before the sanity checks. Agreed. Reviewed-by: David Sterba <dsterba@suse.cz> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 3aab10c..58cb83f 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -1762,6 +1762,9 @@ static void btrfs_print_info(void) #ifdef CONFIG_BTRFS_DEBUG ", debug=on" #endif +#ifdef CONFIG_BTRFS_ASSERT + ", assert=on" +#endif #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY ", integrity-checker=on" #endif
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()). Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> --- fs/btrfs/super.c | 3 +++ 1 file changed, 3 insertions(+)