Skip to content

Commit

Permalink
Add the 'zbd' debug level
Browse files Browse the repository at this point in the history
This debug level will be used in the next patch.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Bart Van Assche authored and axboe committed Aug 24, 2018
1 parent a76e199 commit 4806b82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions debug.h
Expand Up @@ -22,6 +22,7 @@ enum {
FD_COMPRESS,
FD_STEADYSTATE,
FD_HELPERTHREAD,
FD_ZBD,
FD_DEBUG_MAX,
};

Expand Down
4 changes: 4 additions & 0 deletions init.c
Expand Up @@ -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, },
};

Expand Down

0 comments on commit 4806b82

Please sign in to comment.