We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd9c03b + 19f8911 commit a86bdc6Copy full SHA for a86bdc6
src/backend/io_uring.zig
@@ -788,6 +788,8 @@ pub const Completion = struct {
788
@intCast(res)
789
else switch (@as(posix.E, @enumFromInt(-res))) {
790
.CANCELED => error.Canceled,
791
+ // If a write is interrupted, we retry it automatically.
792
+ .INTR => return .rearm,
793
else => |errno| posix.unexpectedErrno(errno),
794
},
795
0 commit comments