| To: | xfs-oss <xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] xfs_db: hide debug bbmap output |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Tue, 11 Mar 2014 11:04:04 -0500 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Most of xfsprogs building with DEBUG enables extra
checks, asserts, etc, but this bunch of printfs was
extra output that's not generally helpful for most
people's runtime experience - and it breaks xfs/290
with all the noise.
I assume it's for actual debugging use, and not
generally useful, so bury it a bit deeper under
it's own #ifdef.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---
diff --git a/db/io.c b/db/io.c
index 9a787c8..89e6030 100644
--- a/db/io.c
+++ b/db/io.c
@@ -500,7 +500,7 @@ set_cur(
push_cur();
if (bbmap) {
-#ifdef DEBUG
+#ifdef DEBUG_BBMAP
int i;
printf(_("xfs_db got a bbmap for %lld\n"), (long long)d);
printf(_("\tblock map"));
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfs: merge xfs_bmap_free_item and xfs_extent_busy, Brian Foster |
|---|---|
| Next by Date: | Re: Multi-CPU harmless lockdep on x86 while copying data, Christoph Hellwig |
| Previous by Thread: | [PATCH v4] xfstests: add test for btrfs-progs restore feature, Filipe David Borba Manana |
| Next by Thread: | Re: [PATCH] xfs_db: hide debug bbmap output, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |