From 4806b82473fea74c517e5e0c7665b0ca0542b3ec Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 24 Aug 2018 11:31:22 -0700 Subject: [PATCH] Add the 'zbd' debug level This debug level will be used in the next patch. Signed-off-by: Bart Van Assche Signed-off-by: Jens Axboe --- debug.h | 1 + init.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/debug.h b/debug.h index e5e80400..51b18de2 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 3ed57570..7514d1ab 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.25.1