Skip to content

Sync for file operations - #2018

Merged
axboe merged 1 commit into
axboe:masterfrom
struschev:sync-fileop
Jan 11, 2026
Merged

axboe merged 1 commit into
axboe:masterfrom
struschev:sync-fileop

Conversation

@struschev

Copy link
Copy Markdown

Hi! This small patch adds the ability to use fsync in file ioengines, more specifically in: fileoperations, falloc, and ftruncate.

The patch adds support for sync operations to the fileoperations, ftruncate, and falloc ioengines.

Signed-off-by: Sergei Truschev <s.truschev@yadro.com>
@struschev

Copy link
Copy Markdown
Author

Judging by the logs, the CI launch was generally successful, but for some reason a couple of tests failed (not a compilation or a test error)

@struschev

struschev commented Nov 24, 2025 •

Copy link
Copy Markdown
Author

Seems like Github runner go out of space

System.IO.IOException: No space left on device : '/home/runner/actions-runner/cached/_diag/Worker_20251124-085308-utc.log' at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset) at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder) at System.Diagnostics.TextWriterTraceListener.Flush() at GitHub.Runner.Common.HostTraceListener.WriteHeader(String source, TraceEventType eventType, Int32 id) at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message) at GitHub.Runner.Worker.Worker.RunAsync(String pipeIn, String pipeOut) at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args) System.IO.IOException: No space left on device : '/home/runner/actions-runner/cached/_diag/Worker_20251124-085308-utc.log' at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset) at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder) at System.Diagnostics.TextWriterTraceListener.Flush() at GitHub.Runner.Common.HostTraceListener.WriteHeader(String source, TraceEventType eventType, Int32 id) at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message) at GitHub.Runner.Common.Tracing.Error(Exception exception) at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args) Unhandled exception. System.IO.IOException: No space left on device : '/home/runner/actions-runner/cached/_diag/Worker_20251124-085308-utc.log' at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset) at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder) at System.Diagnostics.TextWriterTraceListener.Flush() at System.Diagnostics.TraceSource.Flush() at GitHub.Runner.Common.Tracing.Dispose(Boolean disposing) at GitHub.Runner.Common.Tracing.Dispose() at GitHub.Runner.Common.TraceManager.Dispose(Boolean disposing) at GitHub.Runner.Common.TraceManager.Dispose() at GitHub.Runner.Common.HostContext.Dispose(Boolean disposing) at GitHub.Runner.Common.HostContext.Dispose() at GitHub.Runner.Worker.Program.Main(String[] args)

@sitsofe

sitsofe commented Nov 25, 2025

Copy link
Copy Markdown
Collaborator

(I reran the failed jobs)

@axboe
axboe merged commit adeceb8 into axboe:master Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

⌂ 换网址