]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54ec368b53b3df1c5c82d8957ed769b257c0eec2
tree7a70fdb9c5d5cc5d87fd2e74220fd8c32a985d4f
parent83313ea5839a5e06f46c8bab3195f7e5c6f4c774
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