Re: [dm-devel] [PATCH v16 04/12] block: add emulation for copy

2023-09-25 Thread Jinyoung Choi
> +static void blkdev_copy_emulation_work(struct work_struct *work) > +{ > +        struct blkdev_copy_emulation_io *emulation_io = container_of(work, > +                        struct blkdev_copy_emulation_io, emulation_work); > +        struct blkdev_copy_io *cio = emulation_io->cio; > +        s

Re: [dm-devel] [PATCH v16 03/12] block: add copy offload support

2023-09-25 Thread Jinyoung Choi
> +/* > + * This must only be called once all bios have been issued so that the > refcount > + * can only decrease. This just waits for all bios to complete. > + * Returns the length of bytes copied or error > + */ > +static ssize_t blkdev_copy_wait_io_completion(struct blkdev_copy_io *cio) Hi, N