Re: [PATCH V2 7/8] btrfs: use copy_highpage() instead of 2 kmaps()

2021-02-10 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH V2 7/8] btrfs: use copy_highpage() instead of 2 kmaps()

2021-02-09 Thread ira . weiny
From: Ira Weiny There are many places where kmap/memove/kunmap patterns occur. This pattern exists in the core common function copy_highpage(). Use copy_highpage to avoid open coding the use of kmap and leverages the core functions use of kmap_local_page(). Development of this patch was aided