From patchwork Fri Jun 3 11:43:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 846462 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p53BqfTe028165 for ; Fri, 3 Jun 2011 11:52:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754371Ab1FCLni (ORCPT ); Fri, 3 Jun 2011 07:43:38 -0400 Received: from cantor.suse.de ([195.135.220.2]:36462 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754337Ab1FCLnh (ORCPT ); Fri, 3 Jun 2011 07:43:37 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 44EDF93F46; Fri, 3 Jun 2011 13:43:36 +0200 (CEST) Received: by ds.suse.cz (Postfix, from userid 10065) id 68CB2747E1; Fri, 3 Jun 2011 13:43:35 +0200 (CEST) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: chris.mason@oracle.com, mitch.harder@sabayonlinux.org, David Sterba Subject: [PATCH] btrfs: add CONFIG_BTRFS_DEBUG option Date: Fri, 3 Jun 2011 13:43:24 +0200 Message-Id: <1307101404-15199-1-git-send-email-dsterba@suse.cz> X-Mailer: git-send-email 1.7.5.2.353.g5df3e Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 03 Jun 2011 11:52:42 +0000 (UTC) Signed-off-by: David Sterba --- lives in git://repo.or.cz/linux-2.6/btrfs-unstable.git #config-debug-option fs/btrfs/Kconfig | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig index ecb9fd3..5601066 100644 --- a/fs/btrfs/Kconfig +++ b/fs/btrfs/Kconfig @@ -31,3 +31,13 @@ config BTRFS_FS_POSIX_ACL Linux website . If you don't know what Access Control Lists are, say N + +config BTRFS_DEBUG + bool "Btrfs debugging support" + depends on BTRFS_FS + help + Enable run-time debugging support for the btrfs filesystem. This may + enable additional and expensive checks with negative impact on + performance, or export extra information via sysfs. + + If unsure, say N.