[PATCH 02/11] Add the 'zbd' debug level

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This debug level will be used in the next patch.

Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxx>
---
 debug.h | 1 +
 init.c  | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debug.h b/debug.h
index e5e8040049ac..51b18de23544 100644
--- a/debug.h
+++ b/debug.h
@@ -22,6 +22,7 @@ enum {
 	FD_COMPRESS,
 	FD_STEADYSTATE,
 	FD_HELPERTHREAD,
+	FD_ZBD,
 	FD_DEBUG_MAX,
 };
 
diff --git a/init.c b/init.c
index 3ed57570c7e0..7514d1ab0af5 100644
--- a/init.c
+++ b/init.c
@@ -2263,6 +2263,10 @@ const struct debug_level debug_levels[] = {
 	  .help = "Helper thread logging",
 	  .shift = FD_HELPERTHREAD,
 	},
+	{ .name = "zbd",
+	  .help = "Zoned Block Device logging",
+	  .shift = FD_ZBD,
+	},
 	{ .name = NULL, },
 };
 
-- 
2.18.0




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux