]> 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)
commitb7b242fe9d6383c974c520b259563d103c07a2f4
tree3fa0f3f19cde0857c6dfd022b86825ff7234c666
parent105b5679e24ab465605c704a8743423c5b07867d
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