dm zoned: avoid unnecessary device recalulation for secondary superblock
authorHannes Reinecke <hare@suse.de>
Tue, 2 Jun 2020 11:09:43 +0000 (13:09 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 5 Jun 2020 18:59:44 +0000 (14:59 -0400)
commit1565929b870fe166c5a57a85d6cb5a2bfe1e6c84
tree3fa0f3f19cde0857c6dfd022b86825ff7234c666
parent35d0c96e422a484bbc5d4921fa20dcc880bfba2c
dm zoned: avoid unnecessary device recalulation for secondary superblock

The secondary superblock must reside on the same device as the primary
superblock, so there is no need to re-calculate the device.

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