dm zoned: convert to xarray
authorHannes Reinecke <hare@suse.de>
Tue, 2 Jun 2020 11:09:46 +0000 (13:09 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 5 Jun 2020 18:59:46 +0000 (14:59 -0400)
commita92fbc446d1a93950b7e25bec6ad75dd26f01ba8
tree7a70fdb9c5d5cc5d87fd2e74220fd8c32a985d4f
parentaec67b4ffa4bea4a02063d9a0f379e5795d6f5dc
dm zoned: convert to xarray

The zones array is getting really large, and large arrays tend to
wreak havoc with the CPU caches.  So convert it to xarray to become
more cache friendly.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com> # fix leak in dmz_insert
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-zoned-metadata.c