]> 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)
commitafbd9f961bde95a5ceef7675186ca06e3482f016
tree7a70fdb9c5d5cc5d87fd2e74220fd8c32a985d4f
parent832ceb2b9e7582aa8321b53d683478a9e0c64640
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