• Kirill Smelkov's avatar
    wcfs: Shutdown WatchLink on any pin error · 87b663ec
    Kirill Smelkov authored
    If a pin misbehaves or there is IO error or anything else, we want to
    stop all communication on the watchlink, cancel on in-flight pin
    handlers, and (TODO) kill the client with SIGBUS.
    
    This patch organizes WatchLink shutdown on any pin error.
    This functionality is indirectly tested by test_Wcfs_watch_robust and
    will be also indirectly tested by faultyprotection tests.
    
    It would be good to have dedicated tests probably, but that is,
    hopefully, TODO.
    87b663ec
wcfs.go 85.1 KB