Brillio Interview Question

How would you deal with a deadlock in a file system?