[PATCH v3 0/3] core/coio_file: Use eio_sendfile_sync for file copying
Cyrill Gorcunov
gorcunov at gmail.com
Tue Apr 16 23:08:55 MSK 2019
Please take a look once time permit.
v3:
- Use off_t to count bytes transferred
- Provide test with forcing 1K transfer at once
Cyrill Gorcunov (3):
core/coio_file: Use eio_sendfile_sync instead of a chunk mode
core/coio_file: Add ERRINJ_COIO_SENDFILE_CHUNK error injection
test: app/fio -- Add ERRINJ_COIO_SENDFILE_CHUNK
src/lib/core/coio_file.c | 33 ++++++++++++++++++---------------
src/lib/core/errinj.h | 1 +
test/app/fio.result | 18 ++++++++++++++++++
test/app/fio.test.lua | 5 +++++
4 files changed, 42 insertions(+), 15 deletions(-)
--
2.20.1
More information about the Tarantool-patches
mailing list