diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-01-29 13:32:45 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-02-25 18:50:12 -0500 |
commit | 3e17898aca293a24dae757a440a50aa63ca29671 (patch) | |
tree | b1dfbeab0f379693af02ccd21e2fcbe9e6a590af /fs/nfs/dir.c | |
parent | ab22e2cbbccbcf65bed9524605ac5dacb89471e8 (diff) |
NFSv4: Protect the state recovery thread against direct reclaim
If memory allocation triggers a direct reclaim from the state recovery
thread, then we can deadlock. Use memalloc_nofs_save/restore to ensure
that doesn't happen.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/dir.c')
0 files changed, 0 insertions, 0 deletions