Skip to content

fileio: retain unwritten bytes after a failed flush - #1220

Merged
steadytao merged 4 commits into
masterfrom
buffered-write-retry
Dec 4, 2026
Merged

steadytao merged 4 commits into
masterfrom
buffered-write-retry

Conversation

@steadytao

Copy link
Copy Markdown
Member

Summary

Preserve the unwritten bytes when a buffered flush fails after a short write. A retry no longer replays bytes already written. Treat a zero-byte write() as EIO instead of looping and add regression coverage for both cases -- also fix the rounding.h dependency for the alternate flist build, share prerequisites across the check targets and remove t_safe_arg_main.o in make clean

@steadytao steadytao added Bug Confirmed incorrect behaviour or failure Enhancement New capability or intentional behaviour change labels Dec 4, 2026
@steadytao steadytao added this to the 4.0.0 milestone Dec 4, 2026
@steadytao
steadytao merged commit 3a2df68 into master Dec 4, 2026
41 checks passed
@steadytao
steadytao deleted the buffered-write-retry branch December 4, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Confirmed incorrect behaviour or failure Enhancement New capability or intentional behaviour change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant