[Tarantool-patches] [PATCH 1/2] Copy DSO module before load instead of symlink-ing
Cyrill Gorcunov
gorcunov at gmail.com
Mon May 25 21:38:33 MSK 2020
On Mon, May 25, 2020 at 07:45:01PM +0300, Konstantin Osipov wrote:
> > > I don't know why coio_copyfile uses it BTW. Why is eio_sendfile()
> > > not enough?
> >
> > ```
> > eio_ssize_t
> > eio_sendfile_sync (int ofd, int ifd, off_t offset, size_t count)
> > {
> > return eio__sendfile (ofd, ifd, offset, count);
> > }
> > ```
> >
> > They are simply alias to each other.
>
> Right, but one is public api and the other is not?
>
> Check eio.pod please.
Indeed :( Thanks! That said I think we simply need to use
eio_sendfile_sync directly, without yields and without
using any for(;;) cycles, the eio will do all inside.
More information about the Tarantool-patches
mailing list