[PATCH v5] core/coio_file: Use eio_sendfile_sync instead of a chunk mode

Vladimir Davydov vdavydov.dev at gmail.com
Mon Apr 29 19:50:01 MSK 2019


On Thu, Apr 18, 2019 at 11:49:58PM +0300, Cyrill Gorcunov wrote:
> eio library provides a portable version of sendfile syscall
> which works a way more efficient than explicit copying file
> by 4K chunks.
> ---
> v5:
>  - Merge three patches into one
>  - Update box/errinj test
>  - Build as Release and rerun fio/box tests
> 
>  src/lib/core/coio_file.c | 33 ++++++++++++++++++---------------
>  src/lib/core/errinj.h    |  1 +
>  test/app/fio.result      | 23 +++++++++++++++++++++++
>  test/app/fio.test.lua    |  8 ++++++++
>  test/box/errinj.result   |  2 ++
>  5 files changed, 52 insertions(+), 15 deletions(-)

Pushed to master, thanks!



More information about the Tarantool-patches mailing list