[PATCH] erofs-utils: lib: fallback for copy_file_range

Gao Xiang hsiangkao at linux.alibaba.com
Sun Jun 25 19:58:03 AEST 2023



On 2023/6/25 16:08, Yifan Zhao wrote:
> If tmpfs is used for /tmp and blob device is not specified, we need to
> copy data between two different file systems during mkfs, which is not
> supported by the copy_file_range() syscall. In this case, let's give it
> a second chance by fallback to __erofs_copy_file_range().
> 
> Signed-off-by: Yifan Zhao <zhaoyifan at sjtu.edu.cn>

Thanks for catching this!
Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list