Oddbean new post about | logout
 [$] Handling filesystem interruptibility

David Howells wanted to discuss changing the way filesystem code handles
the ability to interrupt or kill operations, in order to fix some
longstanding problems with network 
(and other) filesystems, in a session at
the 2024 <a href="https://events.linuxfoundation.org/lsfmmbpf/" rel="nofollow">Linux
Storage, Filesystem, Memory Management, and BPF Summit</a>.   As noted in
his <a href="https://lwn.net/ml/all/2701318.1706863882%40warthog.procyon.org.uk/" rel="nofollow">session
proposal</a>, some filesystems may be expecting to not be interruptible,
but are calling code can take locks and mutexes that are interruptible (or
killable), which are effectively
changing the state of the task incorrectly.
He would like to find a solution for that problem.

https://lwn.net/Articles/983714/