[dm-devel] [PATCH] dm: Remove dm_vcalloc

2021-04-07 Thread Matthew Wilcox (Oracle)
Use kvcalloc or kvmalloc_array instead (depending whether zeroing is useful). Signed-off-by: Matthew Wilcox (Oracle) --- drivers/md/dm-snap-persistent.c | 6 +++--- drivers/md/dm-snap.c| 5 +++-- drivers/md/dm-table.c | 30 ++

Re: [dm-devel] [RFC PATCH v5 2/4] block: add simple copy support

2021-04-07 Thread Selva Jove
Initially I started moving the dm-kcopyd interface to the block layer as a generic interface. Once I dig deeper in dm-kcopyd code, I figured that dm-kcopyd is tightly coupled with dm_io() To move dm-kcopyd to block layer, it would also require dm_io code to be moved to block layer. It would cause