]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: add tracepoint helpers for zoned mode
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Wed, 25 Mar 2020 17:49:55 +0000 (10:49 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Mar 2020 19:39:10 +0000 (13:39 -0600)
commite30617c80b565034720b938f3c289eb871a4eb3e
treeb903c7c7edb2881ab10d29d0aee4715eba7cfeea
parent3b9432cef7689e130292334ac73abbf30e083636
null_blk: add tracepoint helpers for zoned mode

This patch adds two new tracpoints for null_blk_zoned.c that allows us
to trace report-zones, zone-mgmt-op and zone-write operations which has
direct effect on the zone condition state machine.

Also, we update drivers/block/Makefile so that new null_blk related
tracefiles can be compiled.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/Makefile
drivers/block/null_blk_trace.c [new file with mode: 0644]
drivers/block/null_blk_trace.h [new file with mode: 0644]