io_uring-by-example icon indicating copy to clipboard operation
io_uring-by-example copied to clipboard

Fix `04_cp_liburing` to track write_left correctly

Open hatoo opened this issue 4 years ago • 1 comments

Hi, 04_cp_liburing quits before writing file content in my environment. Since I think write_left in copy_file should be updated when actually wrote, I moved the line and it works fine in my environment.

Thanks.

hatoo avatar Apr 24 '21 07:04 hatoo

LGTM

adlternative avatar Jul 24 '21 06:07 adlternative