]> git.baikalelectronics.ru Git - kernel.git/commit
block: add a zone condition debug helper
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Wed, 25 Mar 2020 17:49:54 +0000 (10:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Mar 2020 19:39:09 +0000 (13:39 -0600)
commit3b9432cef7689e130292334ac73abbf30e083636
treefa4d87c8a233e5a9fa6635b5aa450d79135612e0
parent32a8221a1556bd993a5efb721a6375f8602265f2
block: add a zone condition debug helper

Add a helper to stringify the zone conditions. We use this helper in the
next patch to track zone conditions in tracepoints.

Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c
include/linux/blkdev.h