core/coio_file: Use eio_sendfile_sync instead of a chunk mode
eio library provides a portable version of sendfile syscall which works a way more efficient than explicit copying file by 4K chunks.
Showing
- src/lib/core/coio_file.c 18 additions, 15 deletionssrc/lib/core/coio_file.c
- src/lib/core/errinj.h 1 addition, 0 deletionssrc/lib/core/errinj.h
- test/app/fio.result 23 additions, 0 deletionstest/app/fio.result
- test/app/fio.test.lua 8 additions, 0 deletionstest/app/fio.test.lua
- test/box/errinj.result 2 additions, 0 deletionstest/box/errinj.result
Loading
Please register or sign in to comment