[Drbd-dev] [PATCH 03/10] zram: use memcpy_to_bvec in zram_bvec_read

Christoph Hellwig hch at lst.de
Tue Mar 1 13:19:26 CET 2022


On Mon, Feb 28, 2022 at 05:10:09PM -0800, Ira Weiny wrote:
> On Tue, Feb 22, 2022 at 04:51:49PM +0100, Christoph Hellwig wrote:
> > Use the proper helper instead of open coding the copy.
> > 
> > Signed-off-by: Christoph Hellwig <hch at lst.de>
> 
> Looks fine but I don't see a reason to keep the other operation atomic.  Could
> the src map also use kmap_local_page()?

That switch obviously makes sense, but in this series I've focussed on
the bio_vec maps so far.


More information about the drbd-dev mailing list