dm zoned: Introduce dmz_dev_is_dying() and dmz_check_dev()
authorHannes Reinecke <hare@suse.de>
Mon, 11 May 2020 08:24:23 +0000 (10:24 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 15 May 2020 14:29:37 +0000 (10:29 -0400)
commitd0e21ce40c7a41df43b70b863cc64395c7787abd
treebc73d1a965ee707078fa2446ff52dde6738f60bd
parent2234e7321dc61f116de1dc913f3ffa7efff02068
dm zoned: Introduce dmz_dev_is_dying() and dmz_check_dev()

Introduce accessors dmz_dev_is_dying() and dmz_check_dev() to
avoid having to reference the devices directly.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Bob Liu <bob.liu@oracle.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-zoned-metadata.c
drivers/md/dm-zoned-reclaim.c
drivers/md/dm-zoned-target.c
drivers/md/dm-zoned.h