]> 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)
commite9047918138aa5a2903af451307903aa4becab59
tree5b1537e8dcd8cf0705ccb65693ac555c03eb23f7
parent70c87044bcd3295c6a135881d4c3588f1e932655
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