]> git.baikalelectronics.ru Git - kernel.git/commit
dm zoned: use array for superblock zones
authorHannes Reinecke <hare@suse.de>
Mon, 11 May 2020 08:24:19 +0000 (10:24 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 15 May 2020 14:29:37 +0000 (10:29 -0400)
commit198844d69e00cc3684fa5a68750f41c53dcb02dc
tree5b1537e8dcd8cf0705ccb65693ac555c03eb23f7
parentb295c1da395592be36f62e77f8213ce98fc333d3
dm zoned: use array for superblock zones

Instead of storing just the first superblock zone and calculate
the secondary relative to that we should be using an array for
holding the superblock zones.

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