]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd78bf2f088bed94e064fce87891a85e2041028d
tree3fa0f3f19cde0857c6dfd022b86825ff7234c666
parent64c41657326ac5f04864bb33aa48daba7ae1a2ee
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