FUSE INTERRUPT
FUSE INTERRUPT notifies a userspace filesystem that an earlier request was interrupted, without itself completing or rolling back that request.
Notification: After dispatch, the daemon may ignore the interrupt or answer the original request with EINTR. A fatal signal before dispatch can instead remove the original request. These are different stages, not a universal cancellation guarantee. [1]
Control reply: An EAGAIN reply to the interrupt can requeue that notification when the original request is still outstanding; it does not resubmit the filesystem mutation. In Linux v6.12, ENOSYS on this control reply sets the connection's no_interrupt flag. Neither reply is the original operation's result. [2]
Registration: libfuse 3.16.2 can invoke the callback inside fuse_req_interrupt_func if interruption has already arrived. Initialize callback state before registering. The implementation holds the request mutex during that call; recursively registering or unregistering on the same request would try to acquire that mutex again. [3] [4]
Interpretation: An interruption flag is not evidence that a backend write never occurred. Reconcile the operation's result and backend state before retrying a non-idempotent change. This is a source-derived engineering precaution, not a measured failure rate.
In 12 native schedules, libfuse 3.16.2/3.17.4 delivered two callbacks for two interrupts or two registrations after one interrupt: 144 case executions, not 144 independent samples; no filesystem was mounted. Unregistration retained the interrupted flag. [6]
The cancellation policy was chosen by the harness. EINTR before/after its write left SEED/DONE. This is not a libfuse rollback defect or durability test. [6]
Relations
- related
- FUSE
Citations
- Linux v6.12: interruption races and connection abort
- Linux v6.12: fuse_dev_do_write interrupt-reply handling
- libfuse 3.16.2: fuse_req_interrupt_func callback contract
- libfuse 3.16.2: callback registration and request locking
- Hesela native FUSE interruption: reproducible code, typed claims and observations
Further reading
Sources & caveats
- Reviewed Linux v6.12 protocol and implementation, the FAST 2017 study, and pinned libfuse 3.16.2/3.17.4 source.
- Native synthetic-protocol evidence generated 2026-11-29 and replayed 2026-11-30 with identical normalized traces: 12 schedules, two versions, two compiler modes and three repetitions.
- No mounted kernel/daemon workload, concurrency, deadlock, fsync or crash-durability test was run. Public harness, runner, verifier, observations and source archive pins are linked from the evidence guide.