The problematic kthread freezer
The problematic kthread freezer
Posted Nov 3, 2016 2:03 UTC (Thu) by trondmy (subscriber, #28934)Parent article: The problematic kthread freezer
Thanks for the offer, but no thanks. The kthread freezer is borked for NFS as well, and we'd rather get rid of it.
Posted Nov 3, 2016 11:26 UTC (Thu)
by jlayton (subscriber, #31672)
[Link] (2 responses)
Posted Nov 5, 2016 14:53 UTC (Sat)
by jikos (subscriber, #43140)
[Link] (1 responses)
Posted Nov 9, 2016 15:29 UTC (Wed)
by jlayton (subscriber, #31672)
[Link]
Basically what I think we'd want to do is to have fsfreeze tell the RPC transport layer that it should stop sending RPCs to the server(s) and drain the queue by waiting on replies to come in.
The question though is what to do with threads sitting in syscalls that need to issue an RPC. "Parking" them down at the layer where we're synchronously waiting for an RPC reply would be bad, as it would mean that we could easily be holding vfs-layer locks at that point (inode->i_rwsem for instance).
How should that work?
The problematic kthread freezer
The problematic kthread freezer
The problematic kthread freezer