Closed kcgthb closed 5 years ago
I've a PR here: https://github.com/containers/fuse-overlayfs/pull/62
Thanks @giuseppe this was super helpful. But I think I found an issue when sendfile returns -1, you then did copied += n
which could be a problem. I changed that a bit.
@giuseppe Submitted as PR containers/fuse-overlayfs/pull/70 for review
Maybe
sendfile()
could be used instead ofread()
/write()
to make copyup operations more efficient?